Details
Details
builds and (seems) to install relevant files. phonon-vlc still builds as well
Diff Detail
Diff Detail
- Repository
- R487 Phonon
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
I think we should also get rid of the QT_VERSION #ifdefs around the code...
declarative/plugin.cpp:#if QT_VERSION < QT_VERSION_CHECK(5, 0, 0) declarative/plugin.h:#if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0) designer/phononcollection.cpp:#if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0) designer/phononcollection.cpp:#if QT_VERSION < QT_VERSION_CHECK(5, 0, 0) phonon/globalstatic_p.h:#if (QT_VERSION < QT_VERSION_CHECK(5, 0, 0)) // Qt 4 phonon/globalstatic_p.h:#endif // QT_VERSION < QT_VERSION_CHECK(5, 0, 0) phonon/experimental/packetpool.cpp:#if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0) phonon/experimental/packetpool.cpp:#if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0) phonon/platform.cpp:#if QT_VERSION >= QT_VERSION_CHECK(4, 6, 0) // QIcon::fromTheme was introduced in 4.6.0. phonon/pulsesupport.cpp:#if QT_VERSION >= QT_VERSION_CHECK(4, 7, 0) phonon/factory.cpp:#if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0) phonon/objectdescriptionmodel.cpp:#if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0) // Qt 5 phonon/objectdescriptionmodel.cpp:#if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0) // Qt 5 phonon/objectdescriptionmodel.cpp:#if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0) // Qt 5 phonon/objectdescriptionmodel.cpp:#if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0) // Qt 5
CMakeLists.txt | ||
---|---|---|
297 | This used to use qt5_phonon.pri, but now you are using qt_phonon.pri as the source file - are those files identical, or should qt5_phonon.pri be renamed to qt_phonon.pri? Or should we keep qt5_phonon.pri and just drop the qt_phonon.pri? |
Comment Actions
There's a whole bunch of follow ups I have chained up, such as using ECM to generate the pri. This is purely about getting the build switched to qt5 by default. The ifdefs are a good point though.