1 Attachment(s)
Problem with compiling application spread across directories
Hi. I've got a problem. When I compile application that is in one directory, everything is fine. But if I have application split across subdirectories, and in main dire type qmake && make, I reach many the same looking lines in console: qmake -win32 -o Makefile sub1.pro
Yes, Yes, I've got everything set, templates and things, Fullmetalcoder sent me application to test, which I attach. Does anyone know what's the problem's source?
Re: Problem with compiling application spread across directories
Quote:
Originally Posted by
Salazaar
But if I have application split across subdirectories, and in main dire type qmake && make, I reach many the same looking lines in console: qmake -win32 -o Makefile sub1.pro
Could you paste the whole output?
PS. Select "Edit->Mark" from window system menu of cmd prompt.
Re: Problem with compiling application spread across directories
Sure. Here it goes:
make[1]: Leaving directory `C:/MyQt/4.2.3/FullMetalCoderTest/test/sub1'
make[1]: Entering directory `C:/MyQt/4.2.3/FullMetalCoderTest/test/sub1'
qmake -win32 -o Makefile sub1.pro
make[1]: Leaving directory `C:/MyQt/4.2.3/FullMetalCoderTest/test/sub1'
make[1]: Entering directory `C:/MyQt/4.2.3/FullMetalCoderTest/test/sub1'
qmake -win32 -o Makefile sub1.pro
make[1]: Leaving directory `C:/MyQt/4.2.3/FullMetalCoderTest/test/sub1'
make[1]: Entering directory `C:/MyQt/4.2.3/FullMetalCoderTest/test/sub1'
qmake -win32 -o Makefile sub1.pro
make[1]: Leaving directory `C:/MyQt/4.2.3/FullMetalCoderTest/test/sub1'
make[1]: Entering directory `C:/MyQt/4.2.3/FullMetalCoderTest/test/sub1'
qmake -win32 -o Makefile sub1.pro
make[1]: Leaving directory `C:/MyQt/4.2.3/FullMetalCoderTest/test/sub1'
make[1]: Entering directory `C:/MyQt/4.2.3/FullMetalCoderTest/test/sub1'
qmake -win32 -o Makefile sub1.pro
make[1]: Leaving directory `C:/MyQt/4.2.3/FullMetalCoderTest/test/sub1'
make[1]: Entering directory `C:/MyQt/4.2.3/FullMetalCoderTest/test/sub1'
qmake -win32 -o Makefile sub1.pro
make[1]: Leaving directory `C:/MyQt/4.2.3/FullMetalCoderTest/test/sub1'
make[1]: Entering directory `C:/MyQt/4.2.3/FullMetalCoderTest/test/sub1'
qmake -win32 -o Makefile sub1.pro
make[1]: Leaving directory `C:/MyQt/4.2.3/FullMetalCoderTest/test/sub1'
make[1]: Entering directory `C:/MyQt/4.2.3/FullMetalCoderTest/test/sub1'
qmake -win32 -o Makefile sub1.pro
and that doesn't have end. Regards
Re: Problem with compiling application spread across directories
This is weird, indeed. The next step would to be examine the contents of makefiles. Could you attach them?
Re: Problem with compiling application spread across directories
Of course. See, two files have Makefile name. One is from main directory, one from sub1 subdirectory
http://download.yousendit.com/C90E5E3732E06CBA
p.s. sorry for external link, but I could not attach rar archive
Re: Problem with compiling application spread across directories
Quote:
Originally Posted by
Salazaar
p.s. sorry for external link, but I could not attach rar archive
Could you attach a .zip archive?
Re: Problem with compiling application spread across directories
Quote:
Originally Posted by
Salazaar
...and that doesn't have end. Regards
Check whether files don't have modification timestamps set to some future date/time.
Could you post the .pro files?
1 Attachment(s)
Re: Problem with compiling application spread across directories
Quote:
Originally Posted by
jpn
Could you attach a .zip archive?
Ok. No problem
Quote:
Originally Posted by
jacek
Check whether files don't have modification timestamps set to some future date/time.
?? I don't know what do you mean
Quote:
Originally Posted by
jacek
Could you post the .pro files?
Sure.
From main directory:
Quote:
TEMPLATE = subdirs
SUBDIRS += sub1 sub2
From sub1:
Quote:
################################################## ####################
# Automatically generated by qmake (2.01a) jeu. juin 28 14:22:59 2007
################################################## ####################
TEMPLATE = app
TARGET =
DEPENDPATH += .
INCLUDEPATH += .
# Input
SOURCES += main.cpp
From sub2:
Quote:
################################################## ####################
# Automatically generated by qmake (2.01a) jeu. juin 28 14:22:59 2007
################################################## ####################
TEMPLATE = app
TARGET =
DEPENDPATH += .
INCLUDEPATH += .
# Input
SOURCES += main.cpp