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. How to get output Screen
Forum Updated to NodeBB v4.3 + New Features

How to get output Screen

Scheduled Pinned Locked Moved General and Desktop
44 Posts 4 Posters 15.0k Views 3 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.
  • M Offline
    M Offline
    mcosta
    wrote on last edited by
    #2

    Hi,

    if you mean print the qDebug() output to the console you should add

    CONFIG += console
    

    to your .pro file

    Once your problem is solved don't forget to:

    • Mark the thread as SOLVED using the Topic Tool menu
    • Vote up the answer(s) that helped you to solve the issue

    You can embed images using (http://imgur.com/) or (http://postimage.org/)

    1 Reply Last reply
    0
    • ArasuA Offline
      ArasuA Offline
      Arasu
      wrote on last edited by
      #3

      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 0

      can you advice me

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mcosta
        wrote on last edited by
        #4

        Which plaftorm??

        Once your problem is solved don't forget to:

        • Mark the thread as SOLVED using the Topic Tool menu
        • Vote up the answer(s) that helped you to solve the issue

        You can embed images using (http://imgur.com/) or (http://postimage.org/)

        ArasuA 1 Reply Last reply
        0
        • M mcosta

          Which plaftorm??

          ArasuA Offline
          ArasuA Offline
          Arasu
          wrote on last edited by
          #5

          @mcosta Linux using C++

          1 Reply Last reply
          0
          • ArasuA Offline
            ArasuA Offline
            Arasu
            wrote on last edited by
            #6

            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.

            1 Reply Last reply
            0
            • M Offline
              M Offline
              mcosta
              wrote on last edited by
              #7

              sorry, I understood you was on Windows (CONFIG += console works on it)

              @Arasu said:

              How can i get the resultant output UI screen, what will i made for that.

              What means??

              Once your problem is solved don't forget to:

              • Mark the thread as SOLVED using the Topic Tool menu
              • Vote up the answer(s) that helped you to solve the issue

              You can embed images using (http://imgur.com/) or (http://postimage.org/)

              1 Reply Last reply
              0
              • ArasuA Offline
                ArasuA Offline
                Arasu
                wrote on last edited by
                #8

                I couldn't get the User Interface screen, but it had to create .exe file direcly

                1 Reply Last reply
                0
                • ArasuA Offline
                  ArasuA Offline
                  Arasu
                  wrote on last edited by
                  #9

                  i am thinking that, the code which i'm having will be compatible for both windows and Linux(ubuntu). right?

                  1 Reply Last reply
                  0
                  • M Offline
                    M Offline
                    mcosta
                    wrote on last edited by
                    #10

                    Depends on you code?
                    Is a 100% Qt code??

                    Once your problem is solved don't forget to:

                    • Mark the thread as SOLVED using the Topic Tool menu
                    • Vote up the answer(s) that helped you to solve the issue

                    You can embed images using (http://imgur.com/) or (http://postimage.org/)

                    1 Reply Last reply
                    0
                    • ArasuA Offline
                      ArasuA Offline
                      Arasu
                      wrote on last edited by
                      #11

                      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?

                      p3c0P 1 Reply Last reply
                      0
                      • ArasuA Arasu

                        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?

                        p3c0P Offline
                        p3c0P Offline
                        p3c0
                        Moderators
                        wrote on last edited by p3c0
                        #12

                        @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.

                        157

                        1 Reply Last reply
                        1
                        • ArasuA Offline
                          ArasuA Offline
                          Arasu
                          wrote on last edited by
                          #13

                          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.

                          p3c0P 1 Reply Last reply
                          0
                          • ArasuA Arasu

                            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.

                            p3c0P Offline
                            p3c0P Offline
                            p3c0
                            Moderators
                            wrote on last edited by
                            #14

                            @Arasu Using QtCreator see this and some info here.
                            Also if you know which methods are deprecated you can replace them with appropriate one.

                            157

                            1 Reply Last reply
                            1
                            • ArasuA Offline
                              ArasuA Offline
                              Arasu
                              wrote on last edited by
                              #15

                              @p3c0 Can you give some example code for this qDebug() ?

                              p3c0P 1 Reply Last reply
                              0
                              • ArasuA Arasu

                                @p3c0 Can you give some example code for this qDebug() ?

                                p3c0P Offline
                                p3c0P Offline
                                p3c0
                                Moderators
                                wrote on last edited by
                                #16

                                @Arasu Its in the docs. Check this link.

                                157

                                1 Reply Last reply
                                1
                                • ArasuA Offline
                                  ArasuA Offline
                                  Arasu
                                  wrote on last edited by
                                  #17

                                  Thank you!

                                  Is this for Linux using C++ ah?

                                  p3c0P 1 Reply Last reply
                                  0
                                  • ArasuA Arasu

                                    Thank you!

                                    Is this for Linux using C++ ah?

                                    p3c0P Offline
                                    p3c0P Offline
                                    p3c0
                                    Moderators
                                    wrote on last edited by
                                    #18

                                    @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.

                                    157

                                    1 Reply Last reply
                                    1
                                    • ArasuA Offline
                                      ArasuA Offline
                                      Arasu
                                      wrote on last edited by
                                      #19

                                      Now im trying both linux and windows, but both environment i am getting same issue, can you suggest for windows.

                                      p3c0P 1 Reply Last reply
                                      0
                                      • ArasuA Arasu

                                        Now im trying both linux and windows, but both environment i am getting same issue, can you suggest for windows.

                                        p3c0P Offline
                                        p3c0P Offline
                                        p3c0
                                        Moderators
                                        wrote on last edited by
                                        #20

                                        @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.

                                        157

                                        1 Reply Last reply
                                        1
                                        • ArasuA Offline
                                          ArasuA Offline
                                          Arasu
                                          wrote on last edited by
                                          #21

                                          Also shall i know the valgrind?

                                          p3c0P 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