[Gammaray-interest] "No probe found for ABI qt5.4-x86_64"
VStevenP
vstevenpavao at yahoo.com
Sun Nov 9 00:34:49 CET 2014
Here's the error I get from cmake when trying to build without Qt 4.8 installed:
CMake Error at /Applications/CMake 2.8-12.app/Contents/share/cmake-2.8/Modules/FindQt4.cmake:1386 (message):
Found unsuitable Qt version "" from NOTFOUND, this code requires Qt 4.x
Call Stack (most recent call first):
CMakeLists.txt:250 (find_package)
-- Configuring incomplete, errors occurred!
When Qt 4.8 is installed, I guess cmake finds Qt 4.8 easily because the Qt 4.8 installer puts a shortcut to qmake in /usr/bin
My Qt 5.4.0 Beta install is simply in my folder /Users/stevep/Qt5.4.0. There is no shortcut to qmake in /usr/bin
Do you recommend I add /Users/stevep/Qt5.4.0/5.4/clang_64/bin to my PATH, or set some other environment variable to this path so that cmake may find my 5.4 ?
Thanks for any ideas.
----- Original Message -----
From: Milian Wolff <milian.wolff at kdab.com>
To: "gammaray-interest at kdab.com" <gammaray-interest at kdab.com>
Cc:
Sent: Friday, November 7, 2014 5:52 AM
Subject: Re: [Gammaray-interest] "No probe found for ABI qt5.4-x86_64"
On Thursday 06 November 2014 12:03:40 VStevenP wrote:
> I am trying to run GammaRay on my MacBook Pro.
>
> I was able to build GammaRay successfully from the github sources yesterday.
> I tried to launch my app using the GammaRay GUI to Browse and Open the
> .app, but it did not succeed, so I tried it from the command line in
> Terminal. From the Contents/MacOS folder within my application's .app
> package folder, I ran:
>
> gammaray my_app_name
>
> I received an error:
>
> "No probe found for ABI qt5.4-x86_64"
>
> I have Qt 5.4 Beta installed, and I also installed Qt 4.8 yesterday, because
> it seemed to be a prerequisite for gammaray.
>
> I will search the archives some more to see if I can find the answer, but if
> someone has a tip they could send me, it might help me use gamma ray sooner
> with my app.
>
> My app is a QtQuick2 app, BTW.
You need to compile GammaRay with Qt 5 if you want to look at Qt 5
applications. Well, at least the probe, but you can compile everything with it
- so there is no need for you to install Qt 4.
How did you try to build GammaRay? Without Qt 4 installed, it should pickup Qt
5 automatically. And even with Qt 4 installed, it should default to using Qt
5. So something in your environment is not setup correctly, i.e. CMake
apparently does not find Qt 5.
Bye
--
Milian Wolff | milian.wolff at kdab.com | Software Engineer
KDAB (Deutschland) GmbH&Co KG, a KDAB Group company
Tel. Germany +49-30-521325470, Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-independent software solutions
_______________________________________________
Gammaray-interest mailing list
Gammaray-interest at mail.kdab.com
https://mail.kdab.com/mailman/listinfo/gammaray-interest
More information about the Gammaray-interest
mailing list