Qt Multimedia Problems deploy on Linux Mint



  • Hi Everybody.
    I can compile and run my application (pc with Qt 5.6.2) on my VM with linux mint .When i try to deploy this application on other machine with same linux mint ( no Qt 5.6.2 installed on it but used library) i have this error:
    QTMultimedia moduel is not installed.
    Could you please help me to resolve this?
    Any idea?
    Many thanks.
    Igor


  • Moderators

    @igor.ingegnosi How do you deploy your app?



  • I 've compiled application with CMAKE ...
    find_package(Qt5Gui 5.6 REQUIRED)
    find_package(Qt5Quick 5.6 REQUIRED)
    find_package(Qt5Qml 5.6 REQUIRED)
    find_package(Qt5OpenGL 5.6 REQUIRED)

    link_directories( ${Qt5Gui_LIBRARIES} )
    link_directories( ${Qt5Qml_LIBRARIES} )
    link_directories( ${Qt5Quick_LIBRARIES} )
    link_directories( ${Qt5OpenGL_LIBRARIES} )

    ####################################
    add_definitions( ${Qt5Gui_DEFINITIONS} )
    add_definitions( ${Qt5Qml_DEFINITIONS} )
    add_definitions( ${Qt5Quick_DEFINITIONS} )
    add_definitions( ${Qt5OpenGL_DEFINITIONS} )

    target_link_libraries(arbotGui ${Qt5Gui_LIBRARIES})
    target_link_libraries(arbotGui ${Qt5Qml_LIBRARIES})
    target_link_libraries(arbotGui ${Qt5Quick_LIBRARIES})
    target_link_libraries(arbotGui ${Qt5OpenGL_LIBRARIES})

    install(TARGETS MYprogram DESTINATION ${INSTALLATION_PREFIX}/)

    install(DIRECTORY ${QT5LIBS_PATH} DESTINATION ${INSTALLATION_LIB_PREFIX})

    Create a tar.gz file and copy it in other PC...

    That's all

    Igor



  • @igor.ingegnosi I'm not familiar with cmake, so guessing here, but shouldn't you have Qt5Multimedia package in your deployment list then ?



  • Yes Sorry i forget to put also.... find_package(Qt5Multimedia 5.6 REQUIRED) ecc. ecc.
    But nothing change...



  • Any idea guys?
    Please help me... :)
    Thanks


  • Lifetime Qt Champion

    What exactly do you get in that tarball ?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.