Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Error: Compiling legacy Souce code
Forum Update on Monday, May 27th 2025

Error: Compiling legacy Souce code

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
44 Posts 6 Posters 10.9k 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.
  • R Offline
    R Offline
    robrob
    wrote on 1 Mar 2018, 15:01 last edited by
    #41

    I would like to thank every one who helped me here . your information was very valuable.
    Now I managed to compile the source without error. I can also debug and run the software.
    There is a tiny issue :
    debug folder has a .exe file.
    release folder is empty (no .exe)
    I can't publish the application. A message say:"you can publish at the moment".

    1 Reply Last reply
    0
    • V Offline
      V Offline
      VRonin
      wrote on 1 Mar 2018, 15:06 last edited by
      #42

      force a release build, call make release instead of just make

      "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

      R 1 Reply Last reply 1 Mar 2018, 15:25
      1
      • V VRonin
        1 Mar 2018, 15:06

        force a release build, call make release instead of just make

        R Offline
        R Offline
        robrob
        wrote on 1 Mar 2018, 15:25 last edited by
        #43

        @VRonin said in Error: Compiling legacy Souce code:

        force a release build, call make release instead of just make

        How do you that within Qt Creator ?
        I can see :
        It call qmake :
        15:22:32: Starting: "c:\qt\4.7.4\bin\qmake.exe" "C:\Users\rabmerab\Documents\Qt projects\SA430.Gui1\V2.0\Src\SA430Gui.pro" -r -spec win32-g++ "QMLJSDEBUGGER_PATH=C:/Qt/4.7.4/qtc-qmldbg".

        then it call ming32-make

        15:23:49: Starting: "C:\Qt\qtcreator-2.4.1\mingw\bin\mingw32-make.exe"
        C:/Qt/qtcreator-2.4.1/mingw/bin/mingw32-make.exe -f Makefile.Debug

        R 1 Reply Last reply 1 Mar 2018, 18:11
        0
        • R robrob
          1 Mar 2018, 15:25

          @VRonin said in Error: Compiling legacy Souce code:

          force a release build, call make release instead of just make

          How do you that within Qt Creator ?
          I can see :
          It call qmake :
          15:22:32: Starting: "c:\qt\4.7.4\bin\qmake.exe" "C:\Users\rabmerab\Documents\Qt projects\SA430.Gui1\V2.0\Src\SA430Gui.pro" -r -spec win32-g++ "QMLJSDEBUGGER_PATH=C:/Qt/4.7.4/qtc-qmldbg".

          then it call ming32-make

          15:23:49: Starting: "C:\Qt\qtcreator-2.4.1\mingw\bin\mingw32-make.exe"
          C:/Qt/qtcreator-2.4.1/mingw/bin/mingw32-make.exe -f Makefile.Debug

          R Offline
          R Offline
          robrob
          wrote on 1 Mar 2018, 18:11 last edited by
          #44

          @robrob
          After a bit of head scratching, I found how to force the Qt Creator to generate .exe in the release folder.
          The confusion was in the project setting when once your open the project; default setting was : one for debug and one for release. This made believe that, it will generate both debug folder and release folder when I press Build button.
          I did see both folder created but only debug folder was filled with files.
          However, the IDE Gui, there another button where you can select between debug and release function.
          Selecting Release function resolve the issue.
          Now this thread is RESOLVED,

          1 Reply Last reply
          1

          41/44

          1 Mar 2018, 15:01

          • Login

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