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. Static deployement, unknown module
Qt 6.11 is out! See what's new in the release blog

Static deployement, unknown module

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
6 Posts 2 Posters 548 Views 1 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.
  • M Offline
    M Offline
    macseb
    wrote on last edited by
    #1

    Hi
    I'm french sorry for my english, i have issue with my static Qt application. my application is using widget and multimedia modules.
    when i try to compile, Qt says to me that: "Project ERROR: unknown module(s) in QT: multimedia"
    I don't know how i can do to import or include this module in my application?? As i said i'm using statics links and not dynamics.
    My application is running only when i don't use multimedia module. How can i fix please?

    Thanks!

    seb

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

      Hi,

      Are you sure you built and installed the Qt Multimedia module statically ?

      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
      1
      • M Offline
        M Offline
        macseb
        wrote on last edited by
        #3

        Hi,
        thanks to help me. am I sure... of course not :-/
        I just built Qt statically, but i don't know which modules have been statically built. for sure widget module is ok but not multimedia. I don't understand very good how i can do to verify which modules are statically building.

        seb

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

          How did you build Qt statically ?

          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
          • M Offline
            M Offline
            macseb
            wrote on last edited by
            #5

            I use the Qt console and write something like this:
            /path/to/qt/src/configure -static -release

            Then a process began and then when finished, i configured Qt creator to use this static version of Qt.

            seb

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

              Then check the content of your static installation.

              By the way, when building Qt, especially statically, you should disable examples and tests build.

              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