Hi, im building my project with Qt Creator and i cant find a way to avoid the /debug and /release folders that qmake is generating.

i used DESTDIR to output my files, but somehow qmake is still craeting the debug and release folders empty. I 've seen that the resulting makefiles have this line :

SUBTARGETS = \
debug \
release

I wonder where can i change this configuration, since i dont want any of these folders.

Heres my .pro:
Qt Code:
  1. #-------------------------------------------------
  2. #
  3. # Project created by QtCreator
  4. #
  5. #-------------------------------------------------
  6.  
  7. QT = core
  8.  
  9. TARGET = commandservice
  10. TEMPLATE = lib
  11. CONFIG += qt staticlib
  12.  
  13. include(../build/commons)
  14.  
  15. DESTDIR = ../.lib/
  16. OBJECTS_DIR = ../.obj/
  17.  
  18. INCLUDEPATH += \
  19. ../utils/
  20.  
  21. SOURCES += \
  22. GPGEncryptionService.cpp \
  23. GPGKeyManagementService.cpp \
  24. GPGService.cpp \
  25. GPGServiceImplFactory.cpp
  26.  
  27. HEADERS += \
  28. CommandService.h \
  29. CommandServiceImpl.h \
  30. GPGEncryptionService.h \
  31. GPGEncryptionServiceParams.h \
  32. GPGKeyManagementService.h \
  33. GPGKeyManagementServiceParams.h \
  34. GPGService.h \
  35. GPGServiceEncryptionException.h \
  36. GPGServiceKeyManagementException.h \
  37. ServiceParams.h \
  38. GPGServiceImplFactory.h
  39.  
  40. win32 {
  41. SOURCES += GPGServiceImplWin.cpp \
  42. HEADERS += GPGServiceImplWin.h \
  43. GPGServiceImplWinException.h
  44. }
  45.  
  46. macx {
  47. SOURCES += GPGServiceImplMac.cpp
  48. HEADERS += GPGServiceImplMac.h
  49.  
  50. }
  51.  
  52. unix {
  53. SOURCES += GPGServiceImplLinux.cpp
  54. HEADERS += GPGServiceImplLinux.h
  55. }
To copy to clipboard, switch view to plain text mode