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. QProcess : "Unknown error" when exitCode() != 0
Forum Updated to NodeBB v4.3 + New Features

QProcess : "Unknown error" when exitCode() != 0

Scheduled Pinned Locked Moved Unsolved General and Desktop
22 Posts 3 Posters 7.7k 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.
  • M mrjj
    13 Sept 2017, 13:55

    @Julie

    Its hard to say what went bad after you reinstalled windows.
    Maybe it had the right paths back then and Creator took them when you installed Qt.
    Im not sure about why it stopped working.

    • but images are'nt visible now

    What images ?

    You are very welcome. i hope you get it to run again.

    J Offline
    J Offline
    Julie
    wrote on 13 Sept 2017, 14:25 last edited by Julie
    #21

    @mrjj

    I whant to deploying this project before the end of my job (Friday).
    I understant i must run with "release" and not "debug".
    I understant i must add my dll at "Select Projects, Run Settings, expand the Run Environment".

    0_1505314591452_2.png

    But outside Qt Creator it's like my dlls arn't add :

    0_1505312591464_6.png

    At the end i want deployed my application in static (i thinks it's better no ?)
    I whant it woks on windows and linux and the image on button it's visible (i use qrc ressources before it's works (again ^^) and know no).

    0_1505313402353_1.png

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 13 Sept 2017, 15:59 last edited by mrjj
      #22

      hi
      Please STOP a moment
      you are mixing stuff up, or i really do not understand what you are doing :)

      1: running in creator.
      You need to add any dlls that is not part of the Qt so when Creator runs the app, it can find those extra dlls.
      That is the "expand the Run Environment" part. ( to PATH )
      There should be no need to add any Qt dlls for that.
      Setting ANYTHING here have no effect on deployment what so ever.

      2: Deployment
      Running the app on another computer with no Qt installed.
      For that you need the deploy folder with the right subfolders and
      all extra Dlls and the Qt ones you need.
      There is a tool call windeployqt
      http://doc.qt.io/qt-5/windows-deployment.html
      that can help copy the right QT dlls to the folder.

      This deployment folder, you then give to others and they can run the application.
      For more info about the deployment folder, i like this site alot
      http://www.tripleboot.org/?p=138

      And AGAIN, deployment and running in Creator is 2 VERY different things.

      1 Reply Last reply
      0

      21/22

      13 Sept 2017, 14:25

      • Login

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