[Marble-bugs] [marble] [Bug 348594] New: Qt5/KF5 can't detect phonon and QtExtSerialPort builded with Qt5

Gustavo Alvarez sl1pkn07 at gmail.com
Tue Jun 2 13:51:08 UTC 2015


https://bugs.kde.org/show_bug.cgi?id=348594

            Bug ID: 348594
           Summary: Qt5/KF5 can't detect phonon and QtExtSerialPort
                    builded with Qt5
           Product: marble
           Version: unspecified
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: marble-bugs at kde.org
          Reporter: sl1pkn07 at gmail.com

When build marble with Qt5/KF5, the cmake can't detect the Qt5 builds of 
phonon and QtExtSerialPort

the files installed of the phonon and QtExtSerialPort buided with Qt5 are:

phonon: http://sl1pkn07.wtf/paste/view/0805858c
QtExtSerialPort: http://sl1pkn07.wtf/paste/view/e98eb765

in marble/cmake/modules/{FindQtExtSerialPort,FindPhonon}.cmake only search the
Qt4 build

need selectors and fix the paths like a Findquazip.cmake 

Reproducible: Always

Steps to Reproduce:
1.build Phonon and QtExtSerialPort with Qt5 support
2.download marble from git
3. see the cmake symmary output

Actual Results:  
cmake detect phonon and QtExtSerialPort builded with Qt4 (detected only the
library, the header are missing)

Expected Results:  
detect Qt5 build phonon and QtExtSerialPort

if pass to cmake

-DPHONON_INCLUDE_DIR=/usr/include/phonon4qt5
-DPHONON_LIBRARY=/usr/lib/phonon4qt5.so
-DQEXTSERIALPORT_INCLUDE_DIR=/usr/include/qt/QtExtSerialPort
-DQEXTSERIALPORT_LIBRARIES=/usr/lib/libQt5ExtSerialPort.so

the build and detect are ok

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Marble-bugs mailing list