Giter Club home page Giter Club logo

Comments (5)

ferdnyc avatar ferdnyc commented on July 28, 2024

@krop Nice catch!

Though, I admit I'm really surprised that "recent Qt6 versions" would even be using the fallback find_program() scanning. Does your install not have the Qt::qhelpgenerator and Qt::qtattributionsscanner CMake targets available?

from gammaray.

krop avatar krop commented on July 28, 2024

@krop Nice catch!

Though, I admit I'm really surprised that "recent Qt6 versions" would even be using the fallback find_program() scanning. Does your install not have the Qt::qhelpgenerator and Qt::qtattributionsscanner CMake targets available?

Check the pull request, there was another issue that has also been fixed.

from gammaray.

ferdnyc avatar ferdnyc commented on July 28, 2024

@krop

Check the pull request, there was another issue that has also been fixed.

Yeah, I saw that part... I guess it's because the very first Qt probe GammaRay does is for "QT" in all caps:

GammaRay/CMakeLists.txt

Lines 428 to 436 in 93428a9

find_package(
QT
5.5
NAMES
Qt6
Qt5
COMPONENTS Core NO_MODULE
REQUIRED
)

Because, when I do this:

find_package(Qt 5.5 NAMES Qt6 Qt5 COMPONENTS Core NO_MODULE REQUIRED)

...on Fedora 38, only ${Qt_VERSION_MAJOR} is defined. But when I do this:

find_package(QT 5.5 NAMES Qt6 Qt5 COMPONENTS Core NO_MODULE REQUIRED)

only ${QT_VERSION_MAJOR} is defined. (Pretty strange of Qt to not just set both capitalizations, at least in the find_package(Qt...) scenario.)

from gammaray.

krop avatar krop commented on July 28, 2024

@krop

Check the pull request, there was another issue that has also been fixed.

Yeah, I saw that part... I guess it's because the very first Qt probe GammaRay does is for "QT" in all caps:

Deleted my previous comment. See https://cmake.org/cmake/help/latest/command/find_package.html#full-signature

If the NAMES option is given, the names following it are used instead of <PackageName>.

CMake will search for Qt5Config.cmake, then Qt6Config.cmake.

Since these commits are not part of the 3.0.0 release, can you create a new issue with your findings please? (I'll complete with mines, I see 3 different issues in this code)

from gammaray.

krop avatar krop commented on July 28, 2024

Since these commits are not part of the 3.0.0 release, can you create a new issue with your findings please? (I'll complete with mines, I see 3 different issues in this code)

Correction, they are. I'll submit the report.

from gammaray.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.