I upgraded to Qtcreator 2.0.0 (on a Mac). When I use the embedded Designer it does not update the ui_.h file. I'm using Qt 4.6 SDK.
Any ideas if it's a bug or there is setting that I have to set?
Thanks,
Muz
I upgraded to Qtcreator 2.0.0 (on a Mac). When I use the embedded Designer it does not update the ui_.h file. I'm using Qt 4.6 SDK.
Any ideas if it's a bug or there is setting that I have to set?
Thanks,
Muz
Did you run qmake?
I ran clean and qmake. I'm working on a project I created with qtcreator 1.3. Does that make a difference?
I checked the last modified info of the ui_...h files and they are not modified even though the ...ui files are modified.
here is the .pro file
# Project created by QtCreator 2010-05-19T21:08:07
# -------------------------------------------------
QT += opengl
TARGET = ProcessByTrigger
TEMPLATE = app
INCLUDEPATH += ../qwt-5.2.1/src
SOURCES += main.cpp \
mainwindow.cpp \
selectchndialog.cpp \
settriggerdialog.cpp \
thresholddataplot.cpp \
aboutdialog.cpp \
limitsdialog.cpp \
limitsplot.cpp \
datadisplaywidget.cpp \
analysis.cpp
HEADERS += mainwindow.h \
selectchndialog.h \
settriggerdialog.h \
thresholddataplot.h \
aboutdialog.h \
limitsdialog.h \
limitsplot.h \
datadisplaywidget.h \
analysis.h
FORMS += mainwindow.ui \
selectchndialog.ui \
SetTriggerDialog.ui \
aboutdialog.ui \
limitsdialog.ui
RESOURCES += Res.qrc
LIBS += ../qwt5/libqwt5.a
OTHER_FILES += lic.txt
Hi,
I had the same problem; It seems to be caused by the new build directory structure of QtCreator 2.0: in 1.3, the build directory was "<Projects_Base>/<Project_Name>/", but in 2.0 it is something like "<Projects_Base>/<Project_Name>-build-desktop/".
The solution for me was to delete the "<Projects_Base>/<Project_Name>/debug" -directory, and all "<Projects_Base>/<Project_Name>/ui_*.h" -files, and then rebuild. Oh, and I also cleaned out the "<Projects_Base>/<Project_Name>-build-desktop/" -directory
I hope this helps,
<<Mark
Bookmarks