[Interest] qt5 compiling errors using Mingw(x64) on Windows7

Koehne Kai Kai.Koehne at digia.com
Thu Oct 10 14:14:08 CEST 2013


> -----Original Message-----
> From: Xiaolei Shang [mailto:xiaolei.shang at cobham.com]
> Sent: Thursday, October 10, 2013 12:08 PM
> To: Koehne Kai
> Cc: Qt Interest
> Subject: Re: [Interest] qt5 compiling errors using Mingw(x64) on Windows7
> 
> Hi Kai:
> 
> Thank you for quick reply.
> 
> 
> 
> 
> 
> 		-----Original Message-----
> 		From: interest-bounces+kai.koehne=digia.com at qt-
> project.org
> 		[mailto:interest-bounces+kai.koehne=digia.com at qt-
> project.org] On Behalf
> 		Of Xiaolei Shang
> 		Sent: Thursday, October 10, 2013 11:31 AM
> 		To: Qt Interest
> 		Subject: [Interest] qt5 compiling errors using Mingw(x64) on
> Windows7
> 
> 		Hi all:
> 
> 		I am trying to compiling Qt5.2.0 using MinGW(x64) on
> windows7 following
> 		the instruction: http://qt-project.org/wiki/MinGW-64-bit
> 
> 		After checking out using git, I initilize it with:
> 		perl init-repository --no-webkit
> 
> 		When I configure Qt, I use this:
> 
> 
> 		configure -debug-and-release -opensource -confirm-license -
> platform
> 		win32-g++ -developer-build -c++11 -icu -opengl desktop -
> openssl -qt-sql-
> 		mysql -plugin-sql-mysql -plugin-sql-odbc -qt-style-
> windowsxp -qt-style-
> 		windowsvista -nomake examples -nomake tests
> 
> 		I can't find anything wrong with it, but I still get the following
> errors while
> 		compiling. Could anyone help me to point out why these
> errors generated?
> 		How should I fix it?
> 
> 
> 	I think the status of qt.git/stable was / is broken.
> 
> But when I run:
> 
> 
> 1.
> 	git checkout stable
> 
> it said the version of qt is stable already.
> 
> 
> 
> 	Make sure to check out the stable branch of each individual repo,
> e.g. run
> 
> 	git submodule foreach "git checkout stable ||:"
> 
> Do you mean I should run:
> 
> git checkout stable ||:
> after running git checkout stable?

No. I meant you should run

git submodule foreach "git checkout stable ||:" 

:)

This will not checkout the stable branch for qt.git (which is the top repo), but for each repository below it (e.g. qtbase etc). I suggest you look up 'git submodule' to get the bigger picture ...

qtrepotools\bin\qt5_tool -p --Branch stable 

should AFAIK do it, too.

Regards

Kai 




More information about the Interest mailing list