Hi. I've got very annoying problem. I just cannot compile application which is spread across sub-directories. I get some kind of endless project messages loop without proper compilation. Any ideas how to solve it?
Regards
Hi. I've got very annoying problem. I just cannot compile application which is spread across sub-directories. I get some kind of endless project messages loop without proper compilation. Any ideas how to solve it?
Regards
13 of September - Programmer Day
mingw or msvc? which version? which Qt version? What shell?
shell: cmd or msys?
What exactly happens if you feed a project such as this to qmake:
TEMPLATE=subdirs
SUBDIRS=s1 s2
and in directories s1 s2 place such projects:
TEMPLATE=app
SOURCES=main.cpp
and create empty main.cpp files in both dirs.
Please paste output of qmake && make which you receive for such a configuration.
I don't know how it happened, but when I tried to compile it to get wrong output which you wanted to see, it's just compiling well. Regards
13 of September - Programmer Day
I've got a problem, in the end of compiling edyuk, I got this error:
So of course after it I got release error. What is wrong?Qt Code:
C:\MinGW\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: cannot find -lQtXmld4To copy to clipboard, switch view to plain text mode
Regards
13 of September - Programmer Day
You don't seem have debug version of Qt libs built (notice that there's also a start-menu shortcut for doing so). So try:
This will compile it in release mode.> make clean
> qmake -config release
> make
J-P Nurmi
Ok, it helped, thanks, but there's another problem. It's compiling the same things for few times, so as it compiles the whole, it starts to compile it again, and there's no end of this loop. Regards
13 of September - Programmer Day
I tried this two things - It hasn't helped
13 of September - Programmer Day
Now everything is fine, edyuk has just set that by default it compiles with debugging, so I just had to add make release at the end
Regards
13 of September - Programmer Day
Bookmarks