[Interest] Problem configuring Qt 5 on Windows

andy fillebrown andy.fillebrown at gmail.com
Thu Dec 20 13:53:51 CET 2012


Whelp, all the examples and tests are being built.  Bummer.  I'm
thinking now that it might be because I used the -r flag for the call
to qmake.

I'm going to let it finish building so I have something to work with.
After it's done I'll try another build without the -r flag to see if
that resolves the issue.

Cheers,
~ af



On Thu, Dec 20, 2012 at 7:40 AM, andy fillebrown
<andy.fillebrown at gmail.com> wrote:
> I should also add that after commenting out line 45 in
> qtbase/configure, configure.exe and qmake.exe were built with no
> problems.  After adding -opengl desktop to the configure step and
> sitting through the generation of all the example and test makefiles,
> Qt5 seems to be compiling just fine.  This makes me happy.  It didn't
> turn out so bad after all.  Just a few minor issues.
>
> I'm also liking the modularization.  I rarely use anything other than
> QtBase, so building without the other modules is much easier, now.
>
> Cheers,
> ~ andy.f
>
>
>
> On Thu, Dec 20, 2012 at 7:31 AM, andy fillebrown
> <andy.fillebrown at gmail.com> wrote:
>> I am running the following command from the top level directory after
>> commenting out line 45 in qtbase/configure ...
>>
>> echo y | configure ^
>> -opensource ^
>> -fast ^
>> -platform win32-g++ ^
>> -dont-process ^
>> -opengl desktop ^
>> -nomake tests ^
>> -nomake tools ^
>> -nomake examples ^
>> -nomake demos ^
>> -nomake translations
>>
>> I then run qmake on the qtsdk.pro with the following command ...
>>
>> qtbase\bin\qmake.exe ^
>> -r ^
>> -Wnone ^
>> qtsdk.pro ^
>> CONFIG*=silent ^
>> -after ^
>> CONFIG*=warn_off
>>
>> -----------
>>
>> Note that these are simplified versions of the commands.  I'm actually
>> doing shadow builds but that doesn't look like it's a problem.
>>
>> Also note that the Qt4 qmake step would generate makefiles for the
>> examples, too, but I didn't mind because there weren't that many and
>> they didn't get built during make.  With Qt5 all the tests are having
>> makefiles generated, too.  I haven't gotten far enough into the make
>> step to know if they're actually going to be compiled or not, but I'm
>> assuming they will follow the same behavior in Qt4 and they won't be
>> built.
>>
>> If you really think using the .zip file will make a difference then
>> I'll try it, but I'm pretty sure I'll get the same results.  Qmake
>> will still generate a makefile for everything, regardless of what I
>> specify in the configure step.
>>
>> Cheers,
>> ~ andy.f
>>
>>
>>
>> On Thu, Dec 20, 2012 at 7:19 AM, Koehne Kai <Kai.Koehne at digia.com> wrote:
>>>> Why is the qmake step generating makefiles for all the example and
>>>> test projects?  I specified -nomake examples and -nomake tests.  I
>>>> wouldn't mind wasting a *little* time but this is turning into a lot
>>>> more than a little.  There are a lot of test projects.
>>>
>>> It seems somehow you messed up your setup :( Let's start from scratch:
>>>  - download the .zip file for Windows
>>>  - run e.g. configure -desktop opengl -nomake examples -nomake tests from top level directory (not inside qtbase!)
>>>
>>> Neither should you need to build configure.exe nor qmake.exe from hand, nor should examples or tests be built (except if you run qmake from hand, which you don't have to either).
>>>
>>> Regards
>>>
>>> Kai



More information about the Interest mailing list