Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt Multimedia Problems deploy on Linux Mint
Forum Updated to NodeBB v4.3 + New Features

Qt Multimedia Problems deploy on Linux Mint

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
7 Posts 4 Posters 1.6k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    igor.ingegnosi
    wrote on last edited by A Former User
    #1

    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

    jsulmJ 1 Reply Last reply
    0
    • I igor.ingegnosi

      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

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @igor.ingegnosi How do you deploy your app?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • I Offline
        I Offline
        igor.ingegnosi
        wrote on last edited by
        #3

        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

        O 1 Reply Last reply
        0
        • I igor.ingegnosi

          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

          O Offline
          O Offline
          oniongarlic
          wrote on last edited by
          #4

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

          1 Reply Last reply
          0
          • I Offline
            I Offline
            igor.ingegnosi
            wrote on last edited by
            #5

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

            1 Reply Last reply
            0
            • I Offline
              I Offline
              igor.ingegnosi
              wrote on last edited by
              #6

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

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #7

                What exactly do you get in that tarball ?

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                0

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved