[Interest] Problem configuring Qt 5 on Windows

andy fillebrown andy.fillebrown at gmail.com
Thu Dec 20 13:02:09 CET 2012


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.

Frustration level + 1.

~ af



On Thu, Dec 20, 2012 at 6:37 AM, andy fillebrown
<andy.fillebrown at gmail.com> wrote:
> Oh, awesome, I need to add -opengl desktop or "The build will most
> likely fail". <sigh>
>
> ~ af
>
>
>
> On Thu, Dec 20, 2012 at 6:32 AM, andy fillebrown
> <andy.fillebrown at gmail.com> wrote:
>> ...and now the qmake step fails:
>>
>>    Reading D:/-/usr/src/qt/5.0.0/qtdeclarative/tests/auto/quick/quick.pro
>> [D:/-/usr/bin/qt/5.0.0/gcc-4.6.2--x86--msys/qtdeclarative/tests/auto/quick]
>>     Reading D:/-/usr/src/qt/5.0.0/qtdeclarative/tests/auto/quick/geometry/geometry.pro
>> [D:/-/usr/bin/qt/5.0.0/gcc-4.6.2--x86--msys/qtdeclarative/tests/auto/quick/geometry]
>>     Reading D:/-/usr/src/qt/5.0.0/qtdeclarative/tests/auto/quick/rendernode/rendernode.pro
>> [D:/-/usr/bin/qt/5.0.0/gcc-4.6.2--x86--msys/qtdeclarative/tests/auto/quick/rendernode]
>>     Reading D:/-/usr/src/qt/5.0.0/qtdeclarative/tests/auto/quick/qquickpixmapcache/qquickpixmapcache.pro
>> [D:/-/usr/bin/qt/5.0.0/gcc-4.6.2--x86--msys/qtdeclarative/tests/auto/quick/qquickpixmapcache]
>>     Reading D:/-/usr/src/qt/5.0.0/qtdeclarative/tests/auto/quick/nodes/nodes.pro
>> [D:/-/usr/bin/qt/5.0.0/gcc-4.6.2--x86--msys/qtdeclarative/tests/auto/quick/nodes]
>> Project ERROR: Unknown module(s) in QT: opengl
>>
>> -----------
>>
>> I'll try again without the -no-opengl configure option.
>>
>> ~ af
>>
>>
>>
>> On Thu, Dec 20, 2012 at 5:55 AM, andy fillebrown
>> <andy.fillebrown at gmail.com> wrote:
>>> Ok, so after getting configure -help to work I get the expected list
>>> of options followed by ...
>>>
>>> + D:/-/usr/src/qt/5.0.0/qtbase/bin/qmake D:/-/usr/src/qt/5.0.0/qtsdk.pro
>>> 'D:/-/usr/src/qt/5.0.0/qtbase/bin/qmake' is not recognized as an
>>> internal or external command,
>>> operable program or batch file.
>>>
>>> --------------
>>>
>>> Apparently it's assuming qmake is built.  Not a big deal but it's a
>>> little embarrassing when the configure step 1) doesn't work, and 2)
>>> outputs spurious errors.  If this is an indicative of how the rest of
>>> my Qt 5 experience will go, I'm more than a little worried.
>>>
>>> ~ af
>>>
>>>
>>>
>>> On Thu, Dec 20, 2012 at 5:38 AM, andy fillebrown
>>> <andy.fillebrown at gmail.com> wrote:
>>>> Wow.  Nobody tried building it from the source tarball before release?
>>>>  Just. Wow.
>>>>
>>>> Commenting out that line worked.  Thank you for the quick response.
>>>>
>>>> ~ af
>>>>
>>>>
>>>>
>>>> On Thu, Dec 20, 2012 at 5:35 AM, techabc <techabc at gmail.com> wrote:
>>>>> I have find it yet, by view configure.bat, do as follow:
>>>>> find line 45 shoud be commented: if not exist %QTSRC%\.gitignore goto sconf
>>>>> or
>>>>> create a file named .gitignore
>>>>>
>>>>>
>>>>>
>>>>> 2012/12/20 andy fillebrown <andy.fillebrown at gmail.com>
>>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I'm trying to build Qt 5 from the source tarball on Windows 7 using
>>>>>> the command line but I'm stuck at the configure step ...
>>>>>>
>>>>>> D:\-\usr\src\qt\5.0.0>echo %PATH%
>>>>>>
>>>>>> D:\-\usr\bin\mingw\gcc-4.6.2--x86--msys\bin;D:\-\usr\bin\perl\bin;C:\Python27;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program
>>>>>> Files (x86)\ActivIdentity\ActivClient\;C:\Program
>>>>>> Files\ActivIdentity\ActivClient\;C:\Program Files
>>>>>> (x86)\Hewlett-Packard\IAM\bin;D:\-\usr\share\scripts;C:\Program
>>>>>> Files\TortoiseSVN\bin;C:\Program Files (x86)\Git\cmd;C:\Program Files
>>>>>> (x86)\Csound\bin
>>>>>>
>>>>>> D:\-\usr\src\qt\5.0.0>configure -help
>>>>>> + D:/-/usr/src/qt/5.0.0/qtbase/configure -help
>>>>>> 'D:\-\usr\src\qt\5.0.0\qtbase\\configure.exe' is not recognized as an
>>>>>> internal or external command,
>>>>>> operable program or batch file.
>>>>>> *** qtbase/configure exited with non-zero status.
>>>>>>
>>>>>> D:\-\usr\src\qt\5.0.0>configure
>>>>>> + D:/-/usr/src/qt/5.0.0/qtbase/configure
>>>>>> 'D:\-\usr\src\qt\5.0.0\qtbase\\configure.exe' is not recognized as an
>>>>>> internal or external command,
>>>>>> operable program or batch file.
>>>>>> *** qtbase/configure exited with non-zero status.
>>>>>>
>>>>>> ------------------
>>>>>>
>>>>>> I can't find configure.exe either so I have no idea what the problem
>>>>>> might be.  Can anyone shed some light on what I'm doing wrong?
>>>>>>
>>>>>> Cheers,
>>>>>> ~ andy.f
>>>>>> _______________________________________________
>>>>>> Interest mailing list
>>>>>> Interest at qt-project.org
>>>>>> http://lists.qt-project.org/mailman/listinfo/interest
>>>>>
>>>>>



More information about the Interest mailing list