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. unable to step past QApplication app(argc, argv); in debugger
Forum Updated to NodeBB v4.3 + New Features

unable to step past QApplication app(argc, argv); in debugger

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
7 Posts 4 Posters 1.1k 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.
  • mzimmersM Offline
    mzimmersM Offline
    mzimmers
    wrote on last edited by
    #1

    Hi all -

    I've tried a few different applications (including one of the examples), and when I open the debugger, I get this message:

    can't find linker symbol for virtual table for `MainWindow' value
    

    When I attempt to step over this line:

    QApplication app(argc, argv);
    

    I get this message:

    section .gnu_debuglink not found in C:\Qt\5.15.2\mingw81_32\plugins\platforms\qwindows.dll.debug
    section .gnu_debuglink not found in C:\Qt\5.15.2\mingw81_32\plugins\styles\qwindowsvistastyle.dll.debug
    

    Creator used to work fine for me. I've been away from Qt-land for awhile, and this just started happening now. I must have mis-configured something; any idea what that might be?

    Thanks...

    Creator 6.0.2, Qt 5.15.2, MinGW 8.1.0.

    1 Reply Last reply
    0
    • mzimmersM Offline
      mzimmersM Offline
      mzimmers
      wrote on last edited by
      #2

      Any suggestions, guys? I'd like to get back into the Qt saddle again.

      Thanks...

      J.HilkJ 1 Reply Last reply
      0
      • mzimmersM mzimmers

        Any suggestions, guys? I'd like to get back into the Qt saddle again.

        Thanks...

        J.HilkJ Offline
        J.HilkJ Offline
        J.Hilk
        Moderators
        wrote on last edited by
        #3

        @mzimmers well, are you sure you made a debug build in the first place ?

        it can happen that one has build artefacts from release builds etc.

        Have you tried a complete new project ?


        Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


        Q: What's that?
        A: It's blue light.
        Q: What does it do?
        A: It turns blue.

        1 Reply Last reply
        0
        • mzimmersM Offline
          mzimmersM Offline
          mzimmers
          wrote on last edited by
          #4

          Hi J.Hilk -

          I've tried three different projects: my old one, a new one, and an example. All show the same problem. Those 3 projects all use QApplication. I've also tried non-Qt projects, and those do work.

          And yes, these are being built in debug mode.

          Thanks...

          1 Reply Last reply
          0
          • mzimmersM Offline
            mzimmersM Offline
            mzimmers
            wrote on last edited by mzimmers
            #5

            Tried a new installation of Qt with no change in behavior. On a hunch, I deleted my C:\Users\mzimmers\AppData\Roaming\QtProject folder. After restarting Creator and opening one of my projects, Creator told me that one of my user settings was incompatible, and asked if I wished to reconfigure (which I did). It works now.

            The main difference between the old folder and the new is the QtCreator.ini (and .bin) files. Tons of differences, mostly additions to the new one, but I couldn't see anything that would cause this problem. Anyway...marking as solved; thanks for looking.

            EDIT: here is the exact warning I got:
            qt.PNG

            1 Reply Last reply
            2
            • JoeCFDJ Offline
              JoeCFDJ Offline
              JoeCFD
              wrote on last edited by JoeCFD
              #6

              Next time you may try the followings:
              projects->build->Clean Steps
              in Make arguments: change clean to distclean
              then right click your project ==>clean
              Next step is right click your project ==> run qmake or cmake whatever to create a new Makefile
              now change distclean to clean back in Make arguments:
              build your project

              On Linux you can simply do it manually and it is faster from command line inside build dir.
              make distclean
              do your qmake
              make -j4

              1 Reply Last reply
              0
              • R Offline
                R Offline
                r.diaferia
                wrote on last edited by
                #7

                Remove the files qwindows.dll.debug and qwindowsvistastyle.dll.debug from the respective folders, it works for me

                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