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. Folder to compile & build exe [SOLVED]
Forum Updated to NodeBB v4.3 + New Features

Folder to compile & build exe [SOLVED]

Scheduled Pinned Locked Moved General and Desktop
5 Posts 3 Posters 1.2k 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.
  • CoreyWhiteC Offline
    CoreyWhiteC Offline
    CoreyWhite
    wrote on last edited by
    #1

    I keep my project file on a usb disk, and install Qt on whatever computer I am using. My problem is that it runs in Qt, but I can't find where the executable is hiding. I'm not having trouble with DLL's at all, just trying to set the directory for the exe file. Thanks for any help!

    1 Reply Last reply
    0
    • K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      What do you mean with install Qt?

      Just installing the Qt ddls or the whole development environment?

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      0
      • CoreyWhiteC Offline
        CoreyWhiteC Offline
        CoreyWhite
        wrote on last edited by
        #3

        I install a fresh dev environment, and then use it to compile the project on the flash drive.

        1 Reply Last reply
        0
        • K Offline
          K Offline
          koahnig
          wrote on last edited by
          #4

          Probably you cannot work with a shadow build because your usb drive will be on different locations.
          If you have a shadow build folder, there should be in general the exe in your release or debug folder.
          You can redirect the executable to other folder by using "DESTDIR":http://doc.qt.io/qt-5/qmake-variable-reference.html#destdir in your .pro file.

          Vote the answer(s) that helped you to solve your issue(s)

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

            Also, it is best to delete the *.pro.user file before you load the project in a different computer. That file contains machine-specific settings.

            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