Group :: Desktop gráfico/KDE
RPM: qt5-phonon
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: alt-fix-qt-visibility-test.patch
Download
Download
--- a/cmake/PhononQt4.cmake
+++ b/cmake/PhononQt4.cmake
@@ -267,7 +267,7 @@ if (CMAKE_COMPILER_IS_GNUCXX)
set (KDE4_C_FLAGS "-fvisibility=hidden")
# check that Qt defines Q_DECL_EXPORT as __attribute__ ((visibility("default")))
# if it doesn't and KDE compiles with hidden default visibiltiy plugins will break
- set(_source "#include <QtCore/QtGlobal>\n int main()\n {\n #ifndef QT_VISIBILITY_AVAILABLE \n #error QT_VISIBILITY_AVAILABLE is not available\n #endif \n }\n")
+ set(_source "#define QT_NO_VERSION_TAGGING 1\n #include <QtCore/QtGlobal>\n int main()\n {\n #ifndef QT_VISIBILITY_AVAILABLE \n #error QT_VISIBILITY_AVAILABLE is not available\n #endif \n }\n")
set(_source_file ${CMAKE_BINARY_DIR}/CMakeTmp/check_qt_visibility.cpp)
file(WRITE "${_source_file}" "${_source}")
set(_include_dirs "-DINCLUDE_DIRECTORIES:STRING=${QT_INCLUDES}")