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. Can't deploy "Hello World!" Qml example (Win7)
Forum Updated to NodeBB v4.3 + New Features

Can't deploy "Hello World!" Qml example (Win7)

Scheduled Pinned Locked Moved QML and Qt Quick
5 Posts 3 Posters 1.4k 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.
  • P Offline
    P Offline
    pixelrom
    wrote on last edited by
    #1

    I've created project "Hello World!" (QtQuick 2.2) Qml example (Qt 5.2.1). It started just fine from Qt Creator, but when im trying to start *.exe directly, it didn't open (process howether appear, but without window). I used process explorer and put all DLL's in directory with *.exe. Same thing.

    1 Reply Last reply
    0
    • EddyE Offline
      EddyE Offline
      Eddy
      wrote on last edited by
      #2

      Hi and welcome here,

      This question has been asked a lot already, so JKSH made a "very good wiki page about it":http://qt-project.org/wiki/Deploy_an_Application_on_Windows

      Don't forget to thank him ;-)

      Qt Certified Specialist
      www.edalsolutions.be

      1 Reply Last reply
      0
      • P Offline
        P Offline
        pixelrom
        wrote on last edited by
        #3

        Thanks, but i already tried it. No result.
        P.S. I think i made it. Had to use "Initial deployment (Quick and dirty)" and put *.qml files in deployment folder (not the Deployment\qml\MyApp). Going to clean up now. Thanks again =)
        Found interesting way to detect needed DLL's:

        1. Launch application
        2. Delete all dll's and just skip all "File using by other program" messages.
          Maby need to add in this instruction)
        1 Reply Last reply
        0
        • JKSHJ Offline
          JKSHJ Offline
          JKSH
          Moderators
          wrote on last edited by
          #4

          [quote author="pixelrom" date="1398461502"]Found interesting way to detect needed DLL's:

          1. Launch application
          2. Delete all dll's and just skip all "File using by other program" messages.
            Maby need to add in this instruction)[/quote]That's a clever trick! Thanks for sharing; I'll update the wiki.

          Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

          1 Reply Last reply
          0
          • JKSHJ Offline
            JKSHJ Offline
            JKSH
            Moderators
            wrote on last edited by
            #5

            -Actually, the trick only works for DLLs that are required when the app launches. Plugin DLLs allow themselves to be deleted once the app is up and running.- Whoops, ignore that. I was loading the plugins from my development folder instead of my deployment folder. Wiki updated!

            Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

            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