PDA

View Full Version : [Solved] wrong working directory



rosenth
15th October 2010, 09:38
hi
after build and run from within Qt Creator, my application doesnt update the changes i applied to forms UI . and currentPath always return "/home/user/Document".
what should i alter?

Lykurg
15th October 2010, 10:43
See Current working directory for how to deal with currentPath.

rosenth
15th October 2010, 12:19
there is still a problem. in directories other than source, ui changes doesnt affect. why?

Lykurg
15th October 2010, 12:31
How does the pro file looks like?

rosenth
15th October 2010, 12:52
TEMPLATE = app
TARGET =
DEPENDPATH += .
INCLUDEPATH += .
QT += sql \
script

# Input
HEADERS += connection.h \
....
FORMS += dlg_account.ui \
...
SOURCES += dlg_account.cpp \
...
RESOURCES += resources.qrc
...

Lykurg
15th October 2010, 14:56
To get you right: dlg_account.ui don't get recompiled when you update it?