Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-29227

Strange message when starting debug (Detected Qt Version: 0x0)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 10.0.1
    • Debugger
    • None
    • macOS

    Description

      Hello

      I just reinstalled the latest Qt 6.5.1 on my Mac Book Pro M1. Before reinstalling the latest version here is what I did.

      1. I uninstalled the previous version using Maintenance Tool (Remove All).
      2. Removed all "qt" instances from ~/.local, ~/.config and ~/Library
      3. I made sure /opt/Qt was removed by Maintenance Tool, this is the path where I always install Qt.
      4. My zsh env variables are set to
      QT_SELECT=6
      QT_VERSION=6.5.1
      QT_PLUGIN_PATH=/opt/local/qtPlugins:/opt/local/qtcharts:
      PATH contains "/opt/Qt/6.5.1/macos/bin"
      

       
       Now, I downloaded the latest online installer and selected 6.5.1 excluding iOS and Android.
      After the installation, I rebooted my machine, and after login in I opened Qt Creator and then a cmake project. This is a small "C" console utility. It is NOT C++ and has no Qt parts in it.
      After building the project, I do set the breakpoint in the very first line of the main and start debugging. Every time I start debugging I see this message on Application Output.

      Detected Qt Version: 0x0 (namespace='no namespace')
      Found function QObject::property: 0x0
      Found function QObject::customEvent: 0x0
      

      Not sure if I am missing something in my cmake CMakeList.txt.
      If I open the "clock" Qt example, I do not see this message in Application Output.

      In addition, If I open a new Qt Creator and do not open any projects, and I look into Kits I see this "warning" in Qt Versions.

      Checking in Terminal, I can see the path to making is valid. I can here is version output

      ~ /opt/Qt/6.5.1/macos/bin/qmake --version
      QMake version 3.1
      Using Qt version 6.5.1 in /opt/Qt/6.5.1/macos/lib
      

      When I hover over the yellow warning icon I see this message. Nothing else. This looks correct.

      Qt Version
           6.5.1
      Location of make
            /opt/Qt/6.5.1/macos/bin/qmake
      
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            hjk hjk
            oxoocoffee Robert J. Gebis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes