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. This application failed to start ... with attempting to deploy application with QT development environment installed...
Forum Updated to NodeBB v4.3 + New Features

This application failed to start ... with attempting to deploy application with QT development environment installed...

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 1.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.
  • T Offline
    T Offline
    tmason101
    wrote on last edited by
    #1

    Hello,

    I have a working QT development environment and a working QT deployment. I followed the steps for deployment based on the last thread I created about this topic without issue.

    If I try to deploy the application within an environment that has the QT development environment installed, however, I run into the following screen:

    !http://s28.postimg.org/siifbgnsd/New_Error_Message.png(New Error)!

    Note that all of the plugins are found but perhaps there is some confusion between my deployed application's version of the necessary plugins and the ones within the QT path.

    If I rename my Qt install folder to something like Qt-Old then the deployed application works but of course my development environment is jacked.

    So, how can I have a deployed app made with QT and my development environment for QT remain intact and both of them working?

    Thank you for your time.

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

      You got that error message because your application tried to load the wrong version of Qt.

      Remove Qt from your PATH. It shouldn't be in the PATH -- that causes problems like the one you're experiencing now.

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

      1 Reply Last reply
      0
      • T Offline
        T Offline
        tmason101
        wrote on last edited by
        #3

        Thank you, but I didn't put QT in the Path, the installer did.

        Does that matter? Would I be breaking the QT development environment by removing QT from the PATH variable.

        Ideally I would like both my deployed package and QT to be running without issue without making any changes on the target system.

        If I have to make a change on the deployment package please let me know.

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

          That's interesting. Which installer did you download? The official installers from http://qt-project.org/downloads are not supposed to modify your PATH.

          How do you develop your Qt applications? Neither Qt Creator nor the Visual Studio Add-in require Qt in the PATH.

          Also, regarding the target PC:

          What version of Qt (Qt version + compiler version + OpenGL-or-ANGLE) does your development environment use?

          What version of Qt does your deployed application use?

          P.S. It's "Qt", not "QT". "QT" refers to Apple QuickTime.

          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