Error: Compiling legacy Souce code
-
wrote on 1 Mar 2018, 15:01 last edited by
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". -
wrote on 1 Mar 2018, 15:06 last edited by
force a release build, call
make release
instead of justmake
-
wrote on 1 Mar 2018, 15:25 last edited by
@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 -
@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.Debugwrote on 1 Mar 2018, 18:11 last edited by@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,
41/44