How to get output Screen
-
wrote on 27 Mar 2015, 09:58 last edited by
I have to installed QT creator ver 4.8 and i have one project, it developed QT creator ver 4.5 in Linux platform on 2008. Now i want to update some changes for feature enhancement. i had to try to compile and run the project successfully, but i could't get the output screen. the (.pro) file generated only the .exe file only. How can i get the resultant output UI screen, what will i made for that.
-
wrote on 27 Mar 2015, 11:30 last edited by
Hi,
if you mean print the
qDebug()
output to the console you should addCONFIG += console
to your .pro file
-
wrote on 27 Mar 2015, 12:39 last edited by
Here is the error,
b77ea000-b77eb000 r--p 002c0000 08:01 1966228 /usr/lib/locale/locale-archive
b77eb000-b77ed000 rw-p 00000000 00:00 0
bfaa8000-bfac9000 rw-p 00000000 00:00 0 [stack]
The program has unexpectedly finished.
/home/dyansys/Desktop/ECScope/ecg12i-build-desktop-Qt_4_8_1_in_PATH__System__Release/ecg12i exited with code 0can you advice me
-
wrote on 27 Mar 2015, 12:43 last edited by
Which plaftorm??
-
wrote on 27 Mar 2015, 13:04 last edited by
Compile Output
18:04:43: Running build steps for project ecg12i...
18:04:43: Configuration unchanged, skipping qmake step.
18:04:43: Starting: "/usr/bin/make" -w
make: Entering directory/home/dyansys/Desktop/ECScope/ecg12i-build-desktop-Qt_4_8_1_in_PATH__System__Release' make: Nothing to be done for
first'.
make: Leaving directory `/home/dyansys/Desktop/ECScope/ecg12i-build-desktop-Qt_4_8_1_in_PATH__System__Release'
18:04:43: The process "/usr/bin/make" exited normally. -
wrote on 27 Mar 2015, 13:48 last edited by
I couldn't get the User Interface screen, but it had to create .exe file direcly
-
wrote on 27 Mar 2015, 13:52 last edited by
i am thinking that, the code which i'm having will be compatible for both windows and Linux(ubuntu). right?
-
wrote on 27 Mar 2015, 13:53 last edited by
Depends on you code?
Is a 100% Qt code?? -
wrote on 27 Mar 2015, 13:57 last edited by
Actually, to my knowledge, the previous developers have developed the code using QtCreator only. apart from that how can i make sure it is completely Qt COde?
-
Actually, to my knowledge, the previous developers have developed the code using QtCreator only. apart from that how can i make sure it is completely Qt COde?
@Arasu Looking at this output
b77ea000-b77eb000 r--p 002c0000 08:01 1966228 /usr/lib/locale/locale-archive b77eb000-b77ed000 rw-p 00000000 00:00 0 bfaa8000-bfac9000 rw-p 00000000 00:00 0 [stack] The program has unexpectedly finished. /home/dyansys/Desktop/ECScope/ecg12i-build-desktop-Qt_4_8_1_in_PATH__System__Release/ecg12i exited with code 0
The code does compiles properly but seems it crashes at some point during runtime. Something related to
locale
perhaps. You will need to debug it. -
wrote on 30 Mar 2015, 05:32 last edited by
Thank you!
Shall i know how to debug the code in QT creator? Why because previously the project created in QT creator version 4.3, but now i am using version 4.8, this version deprecated some of the default methods.
-
Thank you!
Shall i know how to debug the code in QT creator? Why because previously the project created in QT creator version 4.3, but now i am using version 4.8, this version deprecated some of the default methods.
-
-
wrote on 30 Mar 2015, 06:41 last edited by
Thank you!
Is this for Linux using C++ ah?
-
@Arasu qDebug() will work on all platforms since it is a Qt API.
And using QtCreator you will have to use valgrind for debugging. It comes for Linux. -
wrote on 30 Mar 2015, 10:18 last edited by
Now im trying both linux and windows, but both environment i am getting same issue, can you suggest for windows.
-
Now im trying both linux and windows, but both environment i am getting same issue, can you suggest for windows.
@Arasu If it is the same issue then if you solve it for one platform then same will be reflected for other platforms too. I would suggest you to solve it for your primary OS i.e Linux.
1/44