Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Running a Qt 4 project in Qt 5.2
SaME2014 last edited by
I was trying to run a Qt 4 project in my Qt 5 setup on windows and Creator is showing these errors:
:-1: warning: CONFIG+=uitools is deprecated. Use QT+=uitools instead.
:-1: error: Unknown module(s) in QT: qaxcontainer phonon
Does this have smoething to do with the restructuring of modules in Qt 5? If so how do I get around this for my project to compile.
Thank you for your time.
Please see one of the numerous "porting guides":http://qt-project.org/doc/qt-5/portingguide.html. Yes, you do need to do some changes in order for your project to compile against Qt 5, but those are usually very minor changes.
mtrch last edited by
Replace qaxcontainer with axcontainer in your .pro file
There is no phonon module in Qt 5.2 :( You should rewrite your code to use QtMultimedia & QtMultimediaWidgets modules. Also, Phonon is still available as independent library.