Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. After deploy QtMultimedia missing
QtWS25 Last Chance

After deploy QtMultimedia missing

Scheduled Pinned Locked Moved Unsolved General and Desktop
qmlqmultimedia
4 Posts 2 Posters 1.8k Views
  • 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.
  • A Offline
    A Offline
    Andy314
    wrote on 19 Mar 2016, 11:41 last edited by Andy314
    #1

    After deploy QtMultimedia missing

    Hello,
    for my windows desktop app I integrated a QML Camera view in a QQuickwidget.
    (Because the camera-view-finder-widget not really works).
    Started from QtCreator it works, but outside after deployment it works not because the "QtMultimedia module is missing.
    (I got this error after reading of

    QList<QQmlError> ers = QQuickWidget->errors();)
    

    My deploy
    C:\Qt\5.5\msvc2013\bin\windeployqt -printsupport -multimedia -script C:\Projects\Binary\CarDamage\release\CarDamage.exe --dir .

    Pro-file
    After deploy QtMultimedia missing

    QT += core gui sql
    QT += qml quick quickwidgets
    QT += multimedia multimediawidgets
    QT += printsupport script
    

    What dll is missing?
    How must I change the windeploy parameter?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 19 Mar 2016, 21:29 last edited by
      #2

      Hi,

      IIRC, you should set the path to the binary as last parameter of your windeployqt call.

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

      A 1 Reply Last reply 20 Mar 2016, 17:05
      0
      • S SGaist
        19 Mar 2016, 21:29

        Hi,

        IIRC, you should set the path to the binary as last parameter of your windeployqt call.

        A Offline
        A Offline
        Andy314
        wrote on 20 Mar 2016, 17:05 last edited by Andy314
        #3

        Hello @SGaist ,
        the order changes nothing, but now I think I understand it.
        Because the qml files will not be compiled there is not info in the binary what is needed.
        I must add the --qmldir parameter so that the deployment tool can scan the qml-files it and finds the needed modules.

        Does this mean that I must put all my qml file in one root folder ?
        Not possible to distribute my files over different root folders (for building independent reusable components for different projects) ?

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 20 Mar 2016, 18:34 last edited by
          #4

          From a quick look at the sources of windeployqt, it seems that you can path qmldir several times so it will search in all the folders you path as parameter.

          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

          4/4

          20 Mar 2016, 18:34

          • Login

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