Hi
I recently move my project from Qt 4.8 (Linux) to Qt 5.1.x (Windows 7, lastest download version this days).
In my .pro I have something like this:
FORMS += form_main.ui \
form_about.ui
next to the corresponding HEADERS (h files) and SOURCES (cpp files)
And in my .pri (just 1 by now), I follow the same way...
I copy all the project. even the .pro.user files. Qt Creator, now in Windows, make the "magic", converting ~settings. qmake apprently is running with no errors.
I followed and correct the The Transition from Qt 4.x to Qt 5 to adapt my project to the new Qt version.
After this modifications, everything looks good, except the automatic generation of ui_*.h files.
I open the Makefile file and note the line(s) like:
ui_form_about.h: form_about.ui
/home/xxx/QtSDK/Desktop/Qt/4.8.1/gcc/bin/uic form_about.ui -o ui_form_about.h
from the Linux version of the project, just disappeared in the corresponding Windows side.
I know, I can run uic manually or make a .bat file to include all my "forms" and generate the ui_*.h files, but it get me a bad feeling, something is maybe wrong.
Somebody knows why, is common, what can I do (not forcing) to fix this?
Thanks in advance...
Lex
Bookmarks