Reputation: 327
I have developed an application using Qt 5.2 which has be to be compiled in Visual studio 2008. But i found on the following link that the oldest MSVC compiler that can be used with Qt5 is MSVC2010.
Is it possible to compile Qt 5.2 application with MSVC 2008 ?
Thank you for any pointers.
Upvotes: 0
Views: 207
Reputation: 9156
You will need one of three solutions:
1) Drop MS2008 and use a modern compiler
2) Use an older Qt that supports VS2008 (some Qt4 version)
3) Compile Qt5 with old compiler and hope the best
I would try to do 1) even if it means some effort. You should always try to stay up to date (and the longer you wait the more difficult it gets). If this isn't possible I would probably try 2) since it gives you an oudated but at least stable Qt. 3) is the worst solution at my opionion since anything could happen... without good chances to cleanly solve appearing compatibility issues.
Upvotes: 2
Reputation: 35388
As the http://download.qt-project.org/official_releases/qt/5.2/5.2.1/ (but also your link) shows there is no official package for Qt 5.2 with MSVC2008. However, this does not mean you should not try to compile it.
Just download the source from http://download.qt-project.org/official_releases/qt/5.2/5.2.1/single/ and try to compile it. I see in the mkspec
directory an entry for win32-msvc2008
so in theory it should work, however I cannot guarantee that it will compile flawlessly.
But I am very curious how did you manage to
developed an application using Qt 5.2 which has be to be compiled in Visual studio 2008
Maybe you should upgrade your compiler to get the full benefits that come with it.
Upvotes: 1