cafu1007
4th December 2012, 14:40
HI All,
I am having problem compiling my application. I am getting the error in the title while compiling. It seem that this is related to have many ".pri" or ".pro" files.
My project consist on many folder to make it more readable for partners, and so module can be reuse easier.
Is there anybody that hat hat the same problem? or does someone knows how can i fixed?->How them?
I have tried adding the "CONFIG += ordered +no_fixpath" to the pro file. additional this is how the pri files look like:
!contains(DEFINES,MODULO_PRI) {
DEFINES += MODULO_PRI
INCLUDEPATH += $$PWD
DEPENDPATH += $$PWD
HEADERS += $$PWD/CModule.h \
$$PWD/CModule_p.h
SOURCES += $$PWD/CModule.cpp
include($$PWD/../../Intercom/Intercom.pri)
}
If i commented out "INCLUDEPATH += $$PWD" in some pri files then it compiles!!
I am having problem compiling my application. I am getting the error in the title while compiling. It seem that this is related to have many ".pri" or ".pro" files.
My project consist on many folder to make it more readable for partners, and so module can be reuse easier.
Is there anybody that hat hat the same problem? or does someone knows how can i fixed?->How them?
I have tried adding the "CONFIG += ordered +no_fixpath" to the pro file. additional this is how the pri files look like:
!contains(DEFINES,MODULO_PRI) {
DEFINES += MODULO_PRI
INCLUDEPATH += $$PWD
DEPENDPATH += $$PWD
HEADERS += $$PWD/CModule.h \
$$PWD/CModule_p.h
SOURCES += $$PWD/CModule.cpp
include($$PWD/../../Intercom/Intercom.pri)
}
If i commented out "INCLUDEPATH += $$PWD" in some pri files then it compiles!!