Building problem again

Asked by lanig

Hello,

I have added a dialog to the source, added the header and the cc files to the *.pro file but scons doesn't pay attention to the modfication of this file and the *o is not built.

Cordialement,

Alain

Question information

Language:
English Edit question
Status:
Solved
For:
Tagaini Jisho Edit question
Assignee:
No assignee Edit question
Solved by:
Gnurou
Solved:
Last query:
Last reply:
Revision history for this message
Best Gnurou (gnurou) said :
#1

You have put your finger on one of the flaws of my poorly-designed code. :p

The .pro file is not used for Linux builds - it is only used for platforms where scons cannot be used (win32 cross-compilations and Mac OSX). Scons is preferred because it is able to perform non-compilation tasks like creating the dictionaries (qmake just cannot). But on certain platforms, scons is unable to detect Qt, so the dictionaries must be built on Linux, and the compilation tasks themselves be performed by qmake.

Which leads to the point: the files to be compiled are listed in tagainijisho.pro, but also in src/SConscript (and others SConscript in subdirectories). I know this is not clean at all, but the .pro file is supposed to disappear once the scons compilation problem is solved on platforms other than Linux.

Revision history for this message
lanig (alainbe) said :
#2

Thanks.

I'll keep you informed of my progress.

Cordialement,

alain