if you run: qmake -project
qmake build a new xxx.pro file and overwrite your actual pro file...
to handle this make a separate os.pri file ...
and write extra contenents like :
UI_DIR = ui
MOC_DIR = build/.moc
RCC_DIR = build/.rcc
OBJECTS_DIR = build/.obj
QT += xml
QT += network
QT += sql
win32 {
DESTDIR += ./
}
mac {
DESTDIR += ~/Desktop
}
unix {
DESTDIR += /usr/bin
}
UI_DIR = ui
MOC_DIR = build/.moc
RCC_DIR = build/.rcc
OBJECTS_DIR = build/.obj
QT += xml
QT += network
QT += sql
win32 {
DESTDIR += ./
}
mac {
DESTDIR += ~/Desktop
}
unix {
DESTDIR += /usr/bin
}
To copy to clipboard, switch view to plain text mode
and on the new pro file insert only
!include( os.pri ) : error( Unable to find os.pri )
or you make many profile.. back-up
debug.pro release.pro
and tell qmake to use...
qmake debug.pro
Bookmarks