Not using internationalisation by KDE but by Qt.

Ole Jacob Hagen waterthrill at yahoo.no
Sun Dec 21 09:07:38 GMT 2003


Hi.

I am making a Qt-application, using kdevelop. 
My project is based on "A Simple KDE application". I've deleted the generated 
skeleton, and made my own files. 

Then I discovered an unwanted part inside Makefile.in: 
----         % Snip of Makefile.in in src/      ---%

MainWindowDlg.cpp: $(srcdir)/MainWindowDlg.ui MainWindowDlg.h 
MainWindowDlg.moc
	rm -f MainWindowDlg.cpp
	echo '#include <klocale.h>' > MainWindowDlg.cpp
	$(UIC) -i MainWindowDlg.h $(srcdir)/MainWindowDlg.ui > MainWindowDlg.cpp
	sed -e "s,${UIC_TR}( \"\" ),QString::null,g" MainWindowDlg.cpp.temp | sed -e 
"s,${UIC_TR}( \"\"\, \"\" ),QString::null,g" | sed -e 
"s,image\([0-9][0-9]*\)_data,img\1_MainWindowDlg,g" >> MainWindowDlg.cpp ;\
	rm -f MainWindowDlg.cpp.temp ;\
	echo '#include "MainWindowDlg.moc"' >> MainWindowDlg.cpp

---           % End of snip of Makefile.in ----%

I've commented out the the sed-part inside Makefile.in, but a new Makefile.in 
will be generated by kdevelop when I add new files to my project. 
Where can I find the Makefile.in - generator, so I don't need to worry about 
this sed-ding to happen? It replaces Qt's tr with i18un....

Can I edit am_edit?

Cheers, 

Ole J. 



-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list