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. Qt Map deployable Application not running on non-development machine

Qt Map deployable Application not running on non-development machine

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 197 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.
  • S Offline
    S Offline
    saurabh162
    wrote on 30 Jun 2021, 11:33 last edited by saurabh162
    #1

    Dear developers
    I have created deployable folder of “mapviewer” example in Qt using “windeployqt” tool by taking following steps in “window 10”, 64 bit system.

    • Created “release” exe file of Qt “mapviewer” example using Qt Creator
    • Copied exe file of Qt “mapviewer” example in new folder
    • Run following command in windows commands prompt

    C:\Qt\5.15.2\mingw81_64\bin\windeployqt.exe --qmldir C:\Qt\Examples\Qt-5.15.2\location\mapviewer qml_location_mapviewer.exe
    

    After above mentioned steps when I click on “qml_location_mapviewer.exe” file in “deployable folder” on development PC (having windows 10 operating system) then “mapviewer” application starts without any problem but when I click on same “qml_location_mapviewer.exe” file on another computer (also having window 10 operating system and 64 bit architecture) then my application starts but it does not show any Map in application window.

    In order to solve above problem I have already checked following things in non-development PC

    • Internet connection

    • Openssl package installed in PC and available as System variable.

    • checked with dependency Walker for missing package

    Can you please inform me, how can I debug this problem ?

    According to me some “non-Qt” package which is needed to show Map in Qt application is missing in “non-development” computer but do not know which package is this or how to find it?
    If you know possible missing non-Qt package which is needed to show map in Qt application, then please also inform me about it.

    Thank you !!

    1 Reply Last reply
    0
    • C Offline
      C Offline
      ChrisW67
      wrote on 2 Jul 2021, 06:46 last edited by
      #2

      Run the application from a command prompt: anything output?

      1 Reply Last reply
      0
      • V Offline
        V Offline
        VRonin
        wrote on 2 Jul 2021, 09:54 last edited by
        #3

        See https://doc.qt.io/qt-5/deployment-plugins.html#debugging-plugins

        On the “non-development” computer run on cmd:

        set QT_DEBUG_PLUGINS 1
        qml_location_mapviewer.exe
        

        "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
        ~Napoleon Bonaparte

        On a crusade to banish setIndexWidget() from the holy land of Qt

        1 Reply Last reply
        0

        1/3

        30 Jun 2021, 11:33

        • Login

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