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. [solved] Deploy qt qml application

[solved] Deploy qt qml application

Scheduled Pinned Locked Moved Installation and Deployment
4 Posts 3 Posters 6.1k 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.
  • P Offline
    P Offline
    pflaig
    wrote on last edited by
    #1

    I have some big problems getting all needed DLL’s together to deploy a qt-qml application.
    Everything is working fine in Qt Creator if I run my application as debug or release configuration,
    but if I copy the application to another PC that has no Qt installed it is not fully running.

    Some more details:
    Operating System Windows 7 64bit
    QtSDK 4.7.3 mingw

    My qt-qml application is using the webkit plugin, and here I have the most problems, the qmlwebkitplugin.dll cannot be found, but it is in the path.

    file:///Z:/usr/pflaig/4GNextGenTerminal-Demo/qml/4GNextGenTerminal/Webcontent.qml:2:1: plugin cannot be loaded for module "QtWebKit":
    Cannot load library Z:/usr/pflaig/4GNextGenTerminal-Demo/QtWebKit/qmlwebkitplugin.dll: Das angegebene Modul wurde nicht gefunden.

    Here’s the structure of my deploy folder:
    Z:.
    │ 4GNextGenTerminal.exe
    │ libgcc_s_dw2-1.dll
    │ mingwm10.dll
    │ QtCore4.dll
    │ QtDeclarative4.dll
    │ QtGui4.dll
    │ QtNetwork4.dll
    │ QtScript4.dll
    │ QtSql4.dll
    │ QtSvg4.dll
    │ QtXml4.dll
    │ QtXmlPatterns4.dll
    │ QtWebKit4.dll
    │
    ├───qml
    │ └───4GNextGenTerminal
    │ BookingDialog.qml
    │ BusinessTrip.qml
    │ BusinessTripModel.qml
    │ ButtonList.qml
    │ ButtonModel.qml
    │ dienstgang.svg
    │ gehen.svg
    │ info.svg
    │ Header.qml
    │ kalender.svg
    │ kommen.svg
    │ schmetterling.svg
    │ uidemo.qml
    │ Webcontent.qml
    │
    ├───QtWebKit
    │ qmldir
    │ qmlwebkitplugin.dll
    │
    └───imageformats
    qgif4.dll
    qico4.dll
    qjpeg4.dll
    qmng4.dll
    qsvg4.dll
    qtiff4.dll

    The complete application is running except the webkit part. Any ideas what I’m doing wrong?
    The webkit plugin is from C:\QtSDK\Desktop\Qt\4.7.3\mingw\imports\QtWebKit.

    Thanks a lot.

    1 Reply Last reply
    0
    • P Offline
      P Offline
      pflaig
      wrote on last edited by
      #2

      Found the solution by myself:

      It seems I forgot to add some important dll (at least phonon4.dll),
      the changed directory structure below is now working.

      @
      Z:.
      │ 4GNextGenTerminal.exe
      │ libgcc_s_dw2-1.dll
      │ mingwm10.dll
      │ QtCore4.dll
      │ QtDeclarative4.dll
      │ QtGui4.dll
      │ QtNetwork4.dll
      │ QtScript4.dll
      │ QtSql4.dll
      │ QtSvg4.dll
      │ QtXml4.dll
      │ QtXmlPatterns4.dll
      │ QtWebKit4.dll
      │ libssl32.dll
      │ libeay32.dll
      │ ssleay32.dll
      │ phonon4.dll
      │
      ├───qml
      │ └───4GNextGenTerminal
      │ BookingDialog.qml
      │ BusinessTrip.qml
      │ BusinessTripModel.qml
      │ ButtonList.qml
      │ ButtonModel.qml
      │ dienstgang.svg
      │ gehen.svg
      │ info.svg
      │ Header.qml
      │ kalender.svg
      │ kommen.svg
      │ schmetterling.svg
      │ uidemo.qml
      │ Webcontent.qml
      │
      ├───QtWebKit
      │ qmldir
      │ qmlwebkitplugin.dll
      │
      └───imageformats
      qgif4.dll
      qico4.dll
      qjpeg4.dll
      qmng4.dll
      qsvg4.dll
      qtiff4.dll
      @

      1 Reply Last reply
      0
      • D Offline
        D Offline
        DenisKormalev
        wrote on last edited by
        #3

        If you solved yor problem don't forget to edit title and add [solved] to it. Thanks.

        1 Reply Last reply
        0
        • T Offline
          T Offline
          toby520
          wrote on last edited by
          #4

          hi !
          can i ask a simple question?
          how to import the symbian Component in deployment app

          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