Failed to compile with Qt 5.3 beta / VS2013

Bug #1297391 reported by Xavier Fung
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Stellarium
Fix Released
High
Unassigned

Bug Description

I am using VS2013 Update 2 CTP 2 to compile Stellarium. Out of my curiosity I also updated to Qt 5.3 beta to see if it compiles. Attached is the list of errors generated.
I have followed the guide to compile Stellarium with VS2012/Qt 5.2.1 OpenGL for 64 bit. I substituted Qt 5.2.1/VS 2012/OpenGL/64 bit with Qt 5.3 beta/VS 2013/OpenGL/64 bit.

Revision history for this message
Xavier Fung (xavier114fch) wrote :
Revision history for this message
Bogdan Marinov (daggerstab) wrote : Re: [Bug 1297391] [NEW] Failed to compile with Qt 5.3 beta / VS2013

The Oculars plug-in still hasn't been properly ported to the new OpenGL
functions, so it's not a surprise that it fails. You need to disable it by
passing the appropriate parameter to CMake.

I can't comment about the other one.

Revision history for this message
Xavier Fung (xavier114fch) wrote :

I have tried to use VS2012/Qt 5.2.1 OpenGL for 64 bit and the "stellarium" project compiled without any error. I am not sure if it is due to improper porting, or there are changes in Qt 5.3 which breaks compilation.

Revision history for this message
Alexander Wolf (alexwolf) wrote :

Are you build Qt 5.3 with OpenGL support?

Revision history for this message
Xavier Fung (xavier114fch) wrote :

Yes. I was compiling with Qt5.3 / VS 2013/ OpenGL / 64bit.

Revision history for this message
Alexander Wolf (alexwolf) wrote :

It can explain the issue: are you build Qt 5.3 and Stellarium both in /MD mode?

Revision history for this message
Xavier Fung (xavier114fch) wrote :

I was not building with /MD mode. Attached are the build log and error log of the latest checkout.

Revision history for this message
Xavier Fung (xavier114fch) wrote :
Revision history for this message
Alexander Wolf (alexwolf) wrote :

This is bug in Qt 5.3 beta.

Changed in stellarium:
status: New → In Progress
milestone: none → 0.13.0
importance: Undecided → High
Revision history for this message
Alexander Wolf (alexwolf) wrote :

Compilation has been fixed in Stellarium with Qt 5.3.0 ANGLE (OpenGL version didn't supported anymore in Stellarium on Windows).

Changed in stellarium:
status: In Progress → Fix Committed
Changed in stellarium:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.