sure, really simple :

Qt Code:
  1. QT += core gui
  2.  
  3. TARGET = qmaketest
  4. TEMPLATE = app
  5.  
  6. CONFIG -= debug_and_release
  7. CONFIG *= qt warn_on release
  8.  
  9.  
  10. SOURCES += main.cpp\
  11. mainwindow.cpp
  12.  
  13. HEADERS += mainwindow.h
  14.  
  15. 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 :/