Sure.
Qt Code:
###################################################################### # Automatically generated by qmake (2.01a) N 13. maj 20:51:00 2007 ###################################################################### TEMPLATE = app TARGET = DEPENDPATH += . INCLUDEPATH += . # Input RESOURCES = images.qrc HEADERS += maker.h ui_maker.h ui_about.h SOURCES += main.cpp maker.cppTo copy to clipboard, switch view to plain text mode
It should be:
This way qmake will generate ui_*.h file automatically every time you change the .ui file.Qt Code:
HEADERS += maker.h FORMS += maker.ui about.uiTo copy to clipboard, switch view to plain text mode
This was created by qmake. And I was trying to compile other applications this qmake system and it was ok
You should create project files with qmake before you start compilation, not after that. Then only update the file manually.
Sure I create project file before compiling, that's the procedure.
If you did, you wouldn't end up with ui_*.h files in it as these are created by uic during compilation. Unless of course you added them manually.
I've solved the problem (I don't know exactly how) but I still don't understand what was the problem about. I've got all my files and run qmake-project
Bookmarks