Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. [Moved] How to deploy a QML and C++ app?

[Moved] How to deploy a QML and C++ app?

Scheduled Pinned Locked Moved QML and Qt Quick
2 Posts 2 Posters 3.0k 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.
  • X Offline
    X Offline
    xooz
    wrote on last edited by
    #1

    Hi, folks, I'm playing with demos/declarative/minehunt on Windows 7, and doing a deployment test.

    All the needed stuff are copied to the app's directory. The directory list as follows:
    @.:
    total 13700
    drwxr-xr-x 3 cai cai 65 Sep 27 09:56 MinehuntCore
    drwxr-xr-x 3 cai cai 17 Sep 27 09:56 Qt
    -rwxrw-r-- 1 cai cai 2278912 Sep 26 11:08 QtCore4.dll
    -rwxrw-r-- 1 cai cai 2186752 Sep 10 20:15 QtDeclarative4.dll
    -rwxrw-r-- 1 cai cai 8151040 Sep 10 19:20 QtGui4.dll
    -rwxrw-r-- 1 cai cai 1283584 Sep 10 19:59 QtScript4.dll
    drwxr-xr-x 2 cai cai 23 Sep 27 09:56 imageformats
    -rwxrw-r-- 1 cai cai 113664 Sep 26 16:12 minehunt.exe
    -rwxrw-r-- 1 cai cai 4179 Sep 10 17:05 minehunt.qml

    ./MinehuntCore:
    total 20
    -rwxrw-r-- 1 cai cai 2520 Sep 10 17:05 Explosion.qml
    -rwxrw-r-- 1 cai cai 4587 Sep 10 17:05 Tile.qml
    drwxr-xr-x 2 cai cai 4096 Sep 27 09:56 pics
    -rwxrw-r-- 1 cai cai 48 Sep 10 17:05 qmldir

    ./MinehuntCore/pics:
    total 112
    -rwxrw-r-- 1 cai cai 30730 Sep 10 17:05 No-Ones-Laughing-3.jpg
    -rwxrw-r-- 1 cai cai 558 Sep 10 17:05 back.png
    -rwxrw-r-- 1 cai cai 284 Sep 10 17:05 bomb-color.png
    -rwxrw-r-- 1 cai cai 535 Sep 10 17:05 bomb.png
    -rwxrw-r-- 1 cai cai 14844 Sep 10 17:05 face-sad.png
    -rwxrw-r-- 1 cai cai 13810 Sep 10 17:05 face-smile-big.png
    -rwxrw-r-- 1 cai cai 15408 Sep 10 17:05 face-smile.png
    -rwxrw-r-- 1 cai cai 219 Sep 10 17:05 flag-color.png
    -rwxrw-r-- 1 cai cai 196 Sep 10 17:05 flag.png
    -rwxrw-r-- 1 cai cai 580 Sep 10 17:05 front.png
    -rwxrw-r-- 1 cai cai 583 Sep 10 17:05 quit.png
    -rwxrw-r-- 1 cai cai 2677 Sep 10 17:05 star.png

    ./Qt:
    total 0
    drwxr-xr-x 3 cai cai 22 Sep 27 09:56 labs

    ./Qt/labs:
    total 0
    drwxr-xr-x 2 cai cai 48 Sep 27 09:56 particles

    ./Qt/labs/particles:
    total 56
    -rwxrw-r-- 1 cai cai 27 Sep 10 17:05 qmldir
    -rwxrw-r-- 1 cai cai 50688 Sep 10 22:12 qmlparticlesplugin.dll

    ./imageformats:
    total 192
    -rwxrw-r-- 1 cai cai 196608 Sep 10 22:09 qjpeg4.dll
    @

    With all above hack, an error of "The application was unable to start correctly (0xc000007b)" was thrown out when running the app.

    If the target host have the Qt 4.7 installed, the app runs ok under the "Qt 4.7.0 Command Prompt".

    Is there something missing?
    Thanks.

    [edit: moved to quick forum / chetankjain]

    1 Reply Last reply
    0
    • I Offline
      I Offline
      ixSci
      wrote on last edited by
      #2

      Try to watch the event log. In windows 7 it has been improved and it may point you to what missed.

      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