[Scons-users] QtDir not found

Philipp Kraus philipp.kraus at flashpixx.de
Fri Apr 5 13:21:36 EDT 2013


Hi @all,

and thanks a lot for Dirk's Mail.
The Qt5 support seems to be working, but a little recommand information:

The QT5DIR environment variable should be initialize on the Ctor call eg
env = Environment(QT5DIR = "your Qt5 dir")

a call eg

env = Environment()
env.Replace(QT5DIR, "your Qt5 dir")

creates on my MinGW & Qt installation a Scons Stop Exception (Qt5 Dir
not found)

Moc, Uic and compiling and clearing runs, but the include directories
(CPPPATH) are
pointed to <qt5dir>/include and on the loaded modules also to
<qt5dir>/include/QtWidget ....
so the Includes are redundant.



On 2013-04-05 00:34:13 +0200, Bill Deegan said:


> Philipp,

>

> Sounds like (as previously discussed) we should rename the qt tool to

> qt3 and document that it's only for qt3.

>

> There are many builders which are open sourced which the SCons project

> doesn't maintain and may not even be aware of. Thus the recommendation

> to hit the users mailing list first.

>

> It may be a good idea to integrate the qt4 and qt5 builders (Assuming

> Dirk is amenable and the community agrees, plus looks like there's

> already many tests for his code.).

>

> To be clear nobody is angry about you using SCons (We are even happy ;)

> , but like any community, we have recommended practices, one of which

> is to ask on the users list prior to filing a bug. You'll get far more

> eyes on the mailing list than on the bug tracker as well.

>

> -Bill

>

>

> On Thu, Apr 4, 2013 at 1:27 PM, Philipp Kraus

> <philipp.kraus at flashpixx.de> wrote:

>

> Am 04.04.2013 um 17:18 schrieb Dirk Bächle:

>

> Hi Philipp,

>

> On 04.04.2013 10:36, Philipp Kraus wrote:

> Hi,

>

> I try to use Qt 5.0.1 with Scons 2.3.0 & MinGW on Windows (test installation):

>

> I create the env object like

>

> env = Environment( tools=["mingw", "qt"] )

>

> 1.) The "qt" Tool from the SCons core is developed for and intended to

> be used with Qt3 versions only. Please don't try to run it on Qt4 or

> Qt5 projects.

>

> 2.) In the ToolsIndex of the SCons Wiki you can find links to the

> specialized builders for Qt4 and Qt5 projects. Please select the

> appropriate Tool for your case, try to run it and report back whether

> it works or not.

> By the way, the Qt4 Tool is the second hit of a Google search for

> "scons qt" on my side...

>

> I have read first the 2.2.0 documention

> http://www.scons.org/doc/2.2.0/HTML/scons-user/a8580.html

> but there is only describe Qt in general not for special version, so

> imho Scons support general Qt versions

>

> Eg http://www.scons.org/wiki/ToolsIndex descripte support Qt4 & 5, so

> the documentation create different Qt using information

>

> 3.) The next time you think that SCons shows a bug, for example if you

> still experience problems while using the Qt4/Qt5 builder, please ask

> on the User mailing list first. Report what you did and what you would

> expect, and then wait for an answer. One of the developers will come

> back to you and, after confirming that it's really a bug, ask you to

> submit an issue report.

>

> 4.) While waiting for an answer, allow the other readers some time for

> digesting and investigating what you wrote. Keep in mind that the

> majority of the core developers live in another time zone...far, far

> away. The time span of approximately two hours, between your posts for

> this thread so far, is not enough. My personal experience is that

> usually a working day or two pass, before people actively chime in. For

> several more helpful guidelines like this one, you might want to have a

> short look at "How to ask questions the smart way" (

> http://www.catb.org/esr/faqs/smart-questions.html )...

>

> Thanks a lot in advance for taking the above points into consideration

> and best regards,

>

> The difference between list & tracker is / was in my opinion, that you

> don't need to copy the list information to your tracker.

>

> Don't be angry about the post, I love Scons, it is imho the best build

> toolkit, which I have ever used, but there a different information

> sources,

> eg I have searched for Qt support in Scons, first source is the toolkit

> page of the last stable version and this information has been my

> solution, because it describe the general toolkit.

> Does a global list exists with toolkits, which are supported by Scons

> and which version of the toolkit is supported in which Scons version,

> also the information which toolkits are in the default

> installation of Scons and which are optional or not in the default

> installation? (eg I have seen that there are exists special Scons OSX

> bundle builder)

>

> _______________________________________________

> Scons-users mailing list

> Scons-users at scons.org

> http://four.pairlist.net/mailman/listinfo/scons-users

>

>

> _______________________________________________

> Scons-users mailing list

> Scons-users at scons.org

> http://four.pairlist.net/mailman/listinfo/scons-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://four.pairlist.net/pipermail/scons-users/attachments/20130405/6c8a7889/attachment.htm>


More information about the Scons-users mailing list