Well, my understanding is, that's progress. :D

I could have missed a file in the satellites plugin, and we may need the code Alex reverted on the QT5_USE_MODULE.


On Mon, Sep 30, 2013 at 10:32 PM, Barry Gerdes <barrygastro@hotmail.com> wrote:
Hi Tim
I have had a chance to build 6269 in Windows XP
If I include oculars the build compiles OK but as soon as I select a star and press the oculars button the program crashes with a problem in libstelmain.dll
If I include oculars and satellites the program fails to link as previously
If I include oculars and telescopes the program compiles OK but if the telescope plugin is set to true in the config.ini thhe program crashes immediately with an error in the libstelmain.dll. If false program will load without the plug in.
 
Barry
 

Date: Mon, 30 Sep 2013 21:14:58 -0400
From: treaves@silverfieldstech.com
To: stellarium-pubdevel@lists.sourceforge.net
Subject: Re: [Stellarium-pubdevel] Oculars, Satellites and Telescope Control plugins


Where did you read that information?  I'm not sure it's correct.

http://qt-project.org/doc/qt-5.1/qtgui/qabstractopenglfunctions.html
Seems to idicate that classes using OpenGL should extend one of the subclasses.  I see that StelModules extends QOpenGLFunctions, but, it does not provide all of the functions used.  I believe QOpenGLFunctions_1_2 does.

I've added QOpenGLFunctions_1_2 to the three plugins you list; please try to compile and see if that has any impact.


On Mon, Sep 30, 2013 at 4:18 PM, Alexander Wolf <alex.v.wolf@gmail.com> wrote:
Hi,

I made some investigation to found source of troubles for linking Oculars, satellites and Telescope Control plugins on Windows with Qt5. In all those plugins has been used OpenGL functions like glColor3f(), glPopMatrix(), etc. which not safe for running now within Qt-app. We should write wrapper for those functions or add some black magic around QOpenGLFunctions_X_Y & QOpenGLContext.

--
With best regards, Alexander

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
Stellarium-pubdevel mailing list
Stellarium-pubdevel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stellarium-pubdevel



------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk

_______________________________________________ Stellarium-pubdevel mailing list Stellarium-pubdevel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stellarium-pubdevel

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
Stellarium-pubdevel mailing list
Stellarium-pubdevel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stellarium-pubdevel