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. Qt Creator debugger in Ubuntu
Forum Updated to NodeBB v4.3 + New Features

Qt Creator debugger in Ubuntu

Scheduled Pinned Locked Moved Qt Creator and other tools
15 Posts 6 Posters 9.7k Views 1 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.
  • I Offline
    I Offline
    ivanov-yordan
    wrote on last edited by
    #1

    In previous versions of Qt SDK I never had a problem like this.
    I'm running Qt Creator 2.3.1 with Qt SDK 1.1.3 on Ubuntu 11.10 x86 Desktop.
    Everytime when I try to debug an application the debugger just "fly" trough it.
    I putted breakpoint's and I have an return app.exec() in the main(), but the only thing I see is an flashing terminal. When I open the Application Output I see

    bq. Debugging starts
    Debugging has finished

    When I start the application manually my application runs normally and without any errors or warnings.
    Does anyone encountered a similar problem like mine?

    1 Reply Last reply
    0
    • F Offline
      F Offline
      Franzk
      wrote on last edited by
      #2

      Might be a stupid question, but does it actually try to start the correct app?

      "Horse sense is the thing a horse has which keeps it from betting on people." -- W.C. Fields

      http://www.catb.org/~esr/faqs/smart-questions.html

      1 Reply Last reply
      0
      • I Offline
        I Offline
        ivanov-yordan
        wrote on last edited by
        #3

        :D Yes off course. In most cases I have only one active project. For the last project I'm using shadow build only for one platform.

        1 Reply Last reply
        0
        • I Offline
          I Offline
          ivanov-yordan
          wrote on last edited by
          #4

          New try.
          I tried to run the Bearer Manager example from Qt Creator and the application flashed again. I haven't do that on Ubuntu 11.10 before. If no one knows any reason for that I'll report it as a bug. It's very possible to be while the SDK maintenance tool crashes without parameter for other style.

          1 Reply Last reply
          0
          • F Offline
            F Offline
            Franzk
            wrote on last edited by
            #5

            I haven't seen any such issues on gentoo.

            "Horse sense is the thing a horse has which keeps it from betting on people." -- W.C. Fields

            http://www.catb.org/~esr/faqs/smart-questions.html

            1 Reply Last reply
            0
            • I Offline
              I Offline
              ivanov-yordan
              wrote on last edited by
              #6

              That's what I mean. Ubuntu uses Unity Desktop Environment. And I guess Qt doesn't supports It. However there wasn't any problem with the old versions of Ubuntu and Unity.

              1 Reply Last reply
              0
              • F Offline
                F Offline
                Franzk
                wrote on last edited by
                #7

                [quote author="Yordan Ivanov" date="1320314343"]That's what I mean. Ubuntu uses Unity Desktop Environment. And I guess Qt doesn't supports It.[/quote]
                I would find that odd, given that unity uses Qt. However, you could try to install another window manager (apt-get install fluxbox kde gnome xfce whatever) and try and see what happens there.

                "Horse sense is the thing a horse has which keeps it from betting on people." -- W.C. Fields

                http://www.catb.org/~esr/faqs/smart-questions.html

                1 Reply Last reply
                0
                • F Offline
                  F Offline
                  fluca1978
                  wrote on last edited by
                  #8

                  I had a similar problem using kubuntu, but it was not related to the distro or the desktop, just the fact I was compiling the release version of the application. Have you checked the build options?

                  1 Reply Last reply
                  0
                  • I Offline
                    I Offline
                    ivanov-yordan
                    wrote on last edited by
                    #9

                    Yes. I'm using Debug version. However I' will install other Desktop environment to check if the problem for me comes from it.

                    1 Reply Last reply
                    0
                    • EddyE Offline
                      EddyE Offline
                      Eddy
                      wrote on last edited by
                      #10

                      I installed ubuntu 11.10 64bit yesterday and Qt Creator 2.3.1 behaves as it should.

                      I did use a trick to get all the dependencies right at once by installing the Qt sdk using the ubuntu package manager and afterwards additionally installing the latest Qt sdk using the online installer.

                      Qt Certified Specialist
                      www.edalsolutions.be

                      1 Reply Last reply
                      0
                      • I Offline
                        I Offline
                        ivanov-yordan
                        wrote on last edited by
                        #11

                        Hi again.
                        I uninstalled the SDK and followed the above steps. During the installation I saw an error t for which I forgotten that I've seen during the last installation:

                        bq. Error during installation process (com.nokia.ndk.tools.simulator.qtgcc):
                        The output of
                        /opt/QtSDK/Simulator/Qt/gcc/bin/qmake -query
                        is not parseable. Please file a bugreport with this dialog http://bugreports.qt.nokia.com.
                        output: ""

                        So I think that it's the reason for my problem.

                        1 Reply Last reply
                        0
                        • T Offline
                          T Offline
                          tobias.hunger
                          wrote on last edited by
                          #12

                          Did you file a bug report then?

                          1 Reply Last reply
                          0
                          • I Offline
                            I Offline
                            ivanov-yordan
                            wrote on last edited by
                            #13

                            Yes off course. :)

                            1 Reply Last reply
                            0
                            • G Offline
                              G Offline
                              goetz
                              wrote on last edited by
                              #14

                              [quote author="Yordan Ivanov" date="1320604123"]Yes off course. :)[/quote]

                              Please enlighten us and share the bug id with the forum audience :-) It helps others to refer to it in case they are bitten by the same problem. Thanks.

                              http://www.catb.org/~esr/faqs/smart-questions.html

                              1 Reply Last reply
                              0
                              • I Offline
                                I Offline
                                ivanov-yordan
                                wrote on last edited by
                                #15

                                "QTIFW-66":https://bugreports.qt.nokia.com/browse/QTIFW-66

                                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