Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-17970

Please add -no-install-phonon to not install phonon to system - qt phonon headers and lib breaks kde build and other apps build

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.0.0
    • None
    • (Inactive) Phonon
    • None
    • qt-everywhere-opensource-src-4.7.2.tar.gz build from source on Linux 2.6.37.2

      Please add -no-install-phonon to build phonon but not install libs and headers to system - qt phonon headers and lib breaks kde4 build and other apps build. qt phonon libs and headers appears first to compiler and kde phonon is not used. Qt this way only do harm to source based Linux distros. By doing by hand these commands after qt2 installation:
      rm -rf /usr/include/qt4/phonon
      rm -f /usr/lib/qt4/libphonon.so*
      this workarounds these build problem in ugly way.
      I know about -no-phonon switch - this is no option for me because webkit is not built without phonon.

      I tried to fix qt build scripts to build phonon but not install it to system:
      sed -i '/install(/d' src/3rdparty/phonon/qt7/CMakeLists.txt
      sed -i '/install(/d' src/3rdparty/phonon/gstreamer/CMakeLists.txt
      true > src/3rdparty/phonon/includes/CMakeLists.txt
      sed -i '/install(/d' src/3rdparty/phonon/phonon/CMakeLists.txt
      sed -i '/\.h$/d' src/3rdparty/phonon/phonon/CMakeLists.txt
      sed -i '/DESTINATION/d' src/3rdparty/phonon/phonon/CMakeLists.txt
      sed -i '/install(/d' src/3rdparty/phonon/CMakeLists.txt
      No luck. Even with all these install options cut from CMakeLists.txt qt installer in some evil way still installs phonon to system.

      Please tell me how to patch qt-4.7.2 sources so it will build phonon for Qt's builder internal needs (like webkit build) but will not install it to system.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            buddenha Oswald Buddenhagen
            zbiggy Zbigniew Luszpinski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes