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. empty "release" file
QtWS25 Last Chance

empty "release" file

Scheduled Pinned Locked Moved General and Desktop
8 Posts 2 Posters 3.3k 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.
  • K Offline
    K Offline
    killerman
    wrote on last edited by killerman
    #1

    I've built application using debug and then I did it anagin using release mode and there were 5 files in debug folder and 0 in release folder.

    When i start with release mode and then debug mode then I have reverse situation. There are 5 files in release and zer in debug.

    Also when I try to open .exe file nothing happens. No error or anything. Why is that ?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      From what you wrote, I guess you are running on Windows and probably Visual Studio. What you are seeing is the classic VS setup that whatever the mode is, creates both subfolders (debug and release) in the build directory. Qt Creator works with two different shadow build directories so you have one for debug and one for release. Visual Studio doing things differently than the others, you will have both debug and release folders inside both shadow build directory. So nothing to worry about.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • K Offline
        K Offline
        killerman
        wrote on last edited by
        #3

        Sorry that I wrote my first post not very clearly. I am not worried about two folders but I am worried about that I can't create release version after I've created debug version.

        I am using Qt Creator 3.3.0.

        And why I can't run the .exe file ?

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          When changing the mode in Qt Creator ?

          Any error on the console output ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • K Offline
            K Offline
            killerman
            wrote on last edited by
            #5

            I've already dealed with folders problem. But the other thing is that i can't run my app using .exe file. Nothing shows. No error or anything.

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Do you mean the build dir is empty ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • K Offline
                K Offline
                killerman
                wrote on last edited by killerman
                #7

                No. There are 5 files in the build dir and one of them is an .exe file but when i double click on it nothings happens (even with a "clear" Qt WIdget Application").

                I've made a consol application and it shows for a very very short time and then disappears. I've added few lines of code that should "stop" the application(data input from user) but it still disappears in a moment...

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  Ok, now I see where the problem is. If you want to start your application from Window's explorer, you need to first follow the deployment steps that you would need to go through if you were preparing to distribute your application.

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  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