[Interest] Problem configuring Qt 5 on Windows

2012-12-20 Thread andy fillebrown
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;

Re: [Interest] Problem configuring Qt 5 on Windows

2012-12-20 Thread techabc
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 > Hi, > > I'm trying to build Qt 5 from the source tarball on Windows 7 using > the command line but

Re: [Interest] Problem configuring Qt 5 on Windows

2012-12-20 Thread andy fillebrown
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 wrote: > I have find it yet, by view configure.bat, do as follow: > find line 45 shoud be commen

Re: [Interest] Problem configuring Qt 5 on Windows

2012-12-20 Thread andy fillebrown
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. -

Re: [Interest] Problem configuring Qt 5 on Windows

2012-12-20 Thread andy fillebrown
...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-

Re: [Interest] Problem configuring Qt 5 on Windows

2012-12-20 Thread andy fillebrown
Oh, awesome, I need to add -opengl desktop or "The build will most likely fail". ~ af On Thu, Dec 20, 2012 at 6:32 AM, andy fillebrown 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--x8

Re: [Interest] Problem configuring Qt 5 on Windows

2012-12-20 Thread andy fillebrown
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,

Re: [Interest] Problem configuring Qt 5 on Windows

2012-12-20 Thread Koehne Kai
> Subject: [Interest] Problem configuring Qt 5 on Windows > > 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>configure -help > D:/-/usr/src/qt/

Re: [Interest] Problem configuring Qt 5 on Windows

2012-12-20 Thread andy fillebrown
That makes sense but the .tar.gz is smaller so that's the one I downloaded. I assumed they'd be the same. ~ af On Thu, Dec 20, 2012 at 7:14 AM, Koehne Kai wrote: >> Subject: [Interest] Problem configuring Qt 5 on Windows >> >> Hi, >> >> I'm tr

Re: [Interest] Problem configuring Qt 5 on Windows

2012-12-20 Thread Koehne Kai
> 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 y

Re: [Interest] Problem configuring Qt 5 on Windows

2012-12-20 Thread andy fillebrown
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 transla

Re: [Interest] Problem configuring Qt 5 on Windows

2012-12-20 Thread andy fillebrown
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

Re: [Interest] Problem configuring Qt 5 on Windows

2012-12-20 Thread andy fillebrown
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

Re: [Interest] Problem configuring Qt 5 on Windows

2012-12-20 Thread Koehne Kai
> Subject: Re: [Interest] Problem configuring Qt 5 on Windows > > I am running the following command from the top level directory after > commenting out line 45 in qtbase/configure ... I assume you meant configure.bat > echo y | configure ^ > -opensource ^ > -fast

Re: [Interest] Problem configuring Qt 5 on Windows

2012-12-20 Thread andy fillebrown
On Thu, Dec 20, 2012 at 7:54 AM, Koehne Kai wrote: >> Subject: Re: [Interest] Problem configuring Qt 5 on Windows >> >> I am running the following command from the top level directory after >> commenting out line 45 in qtbase/configure ... > > I assume you m

Re: [Interest] Problem configuring Qt 5 on Windows

2012-12-20 Thread andy fillebrown
I am unable to download the .zip. "Server problem". ~ af On Thu, Dec 20, 2012 at 8:16 AM, andy fillebrown wrote: > On Thu, Dec 20, 2012 at 7:54 AM, Koehne Kai wrote: >>> Subject: Re: [Interest] Problem configuring Qt 5 on Windows >>> >>> I am running

Re: [Interest] Problem configuring Qt 5 on Windows

2012-12-20 Thread andy fillebrown
; ways of doing things is causing the problem. I'll save that for another day. Cheers, ~ andy.f On Thu, Dec 20, 2012 at 8:16 AM, andy fillebrown wrote: > On Thu, Dec 20, 2012 at 7:54 AM, Koehne Kai wrote: >>> Subject: Re: [Interest] Problem configuring Qt 5 on Windows >&

Re: [Interest] Problem configuring Qt 5 on Windows

2012-12-20 Thread Thiago Macieira
Yes, this is brown paper bag #2 for Qt 5.0. Of course, the source was built to make the binaries. But something was done to get the configure.exe for that. On quinta-feira, 20 de dezembro de 2012 05.38.55, andy fillebrown wrote: > Wow. Nobody tried building it from the source tarball before rel

Re: [Interest] Problem configuring Qt 5 on Windows

2012-12-20 Thread Thiago Macieira
On quinta-feira, 20 de dezembro de 2012 06.32.57, andy fillebrown wrote: > ...and now the qmake step fails: Do not run qmake -r. Run just qmake and build from that. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center signature.asc Desc

Re: [Interest] Problem configuring Qt 5 on Windows

2012-12-20 Thread Thiago Macieira
On quinta-feira, 20 de dezembro de 2012 12.19.51, Koehne Kai wrote: > - run e.g. configure -desktop opengl -nomake examples -nomake tests from > top level directory (not inside qtbase!) Huh? Running from qtbase needs to work. The top-level configure.bat runs the configure Perl script which simpl

Re: [Interest] Problem configuring Qt 5 on Windows

2012-12-20 Thread Thiago Macieira
On quinta-feira, 20 de dezembro de 2012 12.54.26, Koehne Kai wrote: > haven't used "-fast" and "-dont-process" myself, maybe that one causes > problems. They aren't necessary anymore. There's no more slow mode configuration. In fact, Ossi has just nuked the -fast option. -- Thiago Macieira - t

Re: [Interest] Problem configuring Qt 5 on Windows

2012-12-20 Thread Koehne Kai
> Subject: Re: [Interest] Problem configuring Qt 5 on Windows > > Yes, this is brown paper bag #2 for Qt 5.0. > > Of course, the source was built to make the binaries. But something was done > to get the configure.exe for that. Not sure I understand you. The .zip file that is m

Re: [Interest] Problem configuring Qt 5 on Windows

2012-12-20 Thread Koehne Kai
> On quinta-feira, 20 de dezembro de 2012 12.19.51, Koehne Kai wrote: >> - run e.g. configure -desktop opengl -nomake examples -nomake tests from >> top level directory (not inside qtbase!) > > Huh? Running from qtbase needs to work. The top-level configure.bat runs the > configure Perl script whi

Re: [Interest] Problem configuring Qt 5 on Windows

2012-12-20 Thread Thiago Macieira
On quinta-feira, 20 de dezembro de 2012 16.22.30, Koehne Kai wrote: > > On quinta-feira, 20 de dezembro de 2012 12.19.51, Koehne Kai wrote: > >> - run e.g. configure -desktop opengl -nomake examples -nomake tests from > >> > >> top level directory (not inside qtbase!) > > > > Huh? Running from q

Re: [Interest] Problem configuring Qt 5 on Windows

2012-12-20 Thread Thiago Macieira
On quinta-feira, 20 de dezembro de 2012 16.18.23, Koehne Kai wrote: > > Subject: Re: [Interest] Problem configuring Qt 5 on Windows > > > > Yes, this is brown paper bag #2 for Qt 5.0. > > > > Of course, the source was built to make the binaries. But som

Re: [Interest] Problem configuring Qt 5 on Windows

2012-12-20 Thread Lincoln Ramsay
On 20/12/12 22:02, andy fillebrown wrote: > Why is the qmake step generating makefiles for all the example and > test projects? Because it's special. So you can go into tests/ or examples/ and run make because there's a Makefile there already, even though these directories aren't built when you

Re: [Interest] Problem configuring Qt 5 on Windows

2012-12-20 Thread Lincoln Ramsay
On 20/12/12 22:53, andy fillebrown wrote: > 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. The -r means "go into subdirectories and build their Makefiles too" but it finds subdirectories using SU

Re: [Interest] Problem configuring Qt 5 on Windows

2012-12-20 Thread Lincoln Ramsay
On 20/12/12 22:18, andy fillebrown wrote: > That makes sense but the .tar.gz is smaller so that's the one I > downloaded. I assumed they'd be the same. .zip also has DOS line endings where .tar.gz has UNIX line endings. That shouldn't be a big deal these days but there are still tools that don'

Re: [Interest] Problem configuring Qt 5 on Windows

2012-12-20 Thread Thiago Macieira
On sexta-feira, 21 de dezembro de 2012 09.04.59, Lincoln Ramsay wrote: > On 20/12/12 22:18, andy fillebrown wrote: > > That makes sense but the .tar.gz is smaller so that's the one I > > downloaded. I assumed they'd be the same. > > .zip also has DOS line endings where .tar.gz has UNIX line endin

Re: [Interest] Problem configuring Qt 5 on Windows

2012-12-20 Thread andy fillebrown
On Thu, Dec 20, 2012 at 11:12 AM, Thiago Macieira wrote: > On quinta-feira, 20 de dezembro de 2012 12.54.26, Koehne Kai wrote: >> haven't used "-fast" and "-dont-process" myself, maybe that one causes >> problems. > > They aren't necessary anymore. There's no more slow mode configuration. > > In

Re: [Interest] Problem configuring Qt 5 on Windows

2012-12-20 Thread andy fillebrown
On Thu, Dec 20, 2012 at 11:22 AM, Koehne Kai wrote: >> On quinta-feira, 20 de dezembro de 2012 12.19.51, Koehne Kai wrote: >>> - run e.g. configure -desktop opengl -nomake examples -nomake tests from >>> top level directory (not inside qtbase!) >> >> Huh? Running from qtbase needs to work. The to

Re: [Interest] Problem configuring Qt 5 on Windows

2012-12-20 Thread andy fillebrown
... and configure -help should be updated. The -fast option should be removed if it doesn't do anything, and the module list for the -nomake flag is not showing all the possible modules that can be skipped. ~ af On Thu, Dec 20, 2012 at 9:06 PM, andy fillebrown wrote: > On Thu, Dec 20, 2012 at

Re: [Interest] Problem configuring Qt 5 on Windows

2012-12-20 Thread Thiago Macieira
On quinta-feira, 20 de dezembro de 2012 20.56.53, andy fillebrown wrote: > On Thu, Dec 20, 2012 at 11:12 AM, Thiago Macieira > > wrote: > > On quinta-feira, 20 de dezembro de 2012 12.54.26, Koehne Kai wrote: > >> haven't used "-fast" and "-dont-process" myself, maybe that one causes > >> > >> p

Re: [Interest] Problem configuring Qt 5 on Windows

2012-12-20 Thread Thiago Macieira
On quinta-feira, 20 de dezembro de 2012 21.10.56, andy fillebrown wrote: > ... and configure -help should be updated. The -fast option should be > removed if it doesn't do anything, and the module list for the -nomake > flag is not showing all the possible modules that can be skipped. The -fast o

Re: [Interest] Problem configuring Qt 5 on Windows

2012-12-20 Thread andy fillebrown
On Thu, Dec 20, 2012 at 10:33 PM, Thiago Macieira wrote: > On quinta-feira, 20 de dezembro de 2012 20.56.53, andy fillebrown wrote: >> On Thu, Dec 20, 2012 at 11:12 AM, Thiago Macieira >> >> wrote: >> > On quinta-feira, 20 de dezembro de 2012 12.54.26, Koehne Kai wrote: >> >> haven't used "-fast

Re: [Interest] Problem configuring Qt 5 on Windows

2012-12-20 Thread Thiago Macieira
On sexta-feira, 21 de dezembro de 2012 01.46.13, andy fillebrown wrote: > >> One of the reasons I use -dont-process is so I can add CONFIG+=silent > >> and -after CONFIG+=warn_off to the call to qmake. Is there another > >> way of reducing the compiler output that I'm not aware of? > > > > The sa

Re: [Interest] Problem configuring Qt 5 on Windows

2012-12-21 Thread andy fillebrown
On Fri, Dec 21, 2012 at 2:42 AM, Thiago Macieira wrote: > On sexta-feira, 21 de dezembro de 2012 01.46.13, andy fillebrown wrote: >> >> One of the reasons I use -dont-process is so I can add CONFIG+=silent >> >> and -after CONFIG+=warn_off to the call to qmake. Is there another >> >> way of reduc

Re: [Interest] Problem configuring Qt 5 on Windows

2012-12-21 Thread Sergio Ahumada
> >> who's wondering what the brown paper bag #1 is anyway ;) > > Mac source builds of frameworks in release mode (not debug-and-release) don't > install any headers: > > #mac frameworks > mac:!static:contains(QT_CONFIG, qt_framework) { > #QMAKE_FRAMEWORK_VERSION = 4.0 > CONFIG += lib_bundl

Re: [Interest] Problem configuring Qt 5 on Windows

2012-12-21 Thread andy fillebrown
On Fri, Dec 21, 2012 at 2:42 AM, Thiago Macieira wrote: > On sexta-feira, 21 de dezembro de 2012 01.46.13, andy fillebrown wrote: >> >> One of the reasons I use -dont-process is so I can add CONFIG+=silent >> >> and -after CONFIG+=warn_off to the call to qmake. Is there another >> >> way of reduc

Re: [Interest] Problem configuring Qt 5 on Windows

2012-12-21 Thread Thiago Macieira
On sexta-feira, 21 de dezembro de 2012 10.16.30, Sergio Ahumada wrote: > I don't see this as a P0/P1 for 5.0.1 .. so I wonder how do we avoid the > bags in the future. That's why it's a brown paper bag: it was found only after the release. I asked the reporter to create a bug entry, but it looks