sure, really simple :
QT += core gui
TARGET = qmaketest
TEMPLATE = app
CONFIG -= debug_and_release
CONFIG *= qt warn_on release
SOURCES += main.cpp\
mainwindow.cpp
HEADERS += mainwindow.h
FORMS += mainwindow.ui
QT += core gui
TARGET = qmaketest
TEMPLATE = app
CONFIG -= debug_and_release
CONFIG *= qt warn_on release
SOURCES += main.cpp\
mainwindow.cpp
HEADERS += mainwindow.h
FORMS += mainwindow.ui
To copy to clipboard, switch view to plain text mode
just a basic .pro generated by Qt Creator in which I added the two CONFIG lines. Removing or commenting the first CONFIG line makes the application compile. Otherwise, I get :
process_begin: CreateProcess(NULL, c:\Qt\Desktop\Qt\4.7.2\mingw\binuic.exe ..\qmaketest\mainwindow.ui -o ui_mainwindow.h, ...) failed.
where a '\' is missing. I really don't get it :/
Bookmarks