This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Qt not available error?

0

This might be a dumb question since no one asked before.
I used git to clone the code base. And I am on Mac, so I run macosx-setup script to setup the environment. Everything went OK except there is a CURL error with libsmi. I found that it's an optional package so I commented out this line and installed libsmi with 'port install libsmi'. Then I tried to configure, it gives me this message:
checking for Qt5Core - version >= 4.6.0... no checking for QtCore - version >= 4.6.0... no configure: error: Qt is not available
I can see qt5.2 is in the macosx-support-libs directory after setting up the environment, is there any extra steps I missed?

asked 14 Dec '13, 10:56

Jacul's gravatar image

Jacul
6224
accept rate: 0%


One Answer:

0

What does

pkg-config --libs --cflags Qt5Core

return? You might need to make sure /path/to/Qt5.2/clang_64/lib/pkgconfig is in PKG_CONFIG_PATH.

answered 15 Dec '13, 13:00

Gerald%20Combs's gravatar image

Gerald Combs ♦♦
3.3k92258
accept rate: 24%

Thanks. It says QT5 is not included in the path. I exported the path of Qt5Core.pc to the PKG_CONFIG_PATH, now it passes. Now I have one other question, Qt5 should be already downloaded and ready to use, but it doesn't seem like that. Is there any other steps I am missing, say including some path in the environmental variable? Because I am now missing GTK+3 and I think potentially there are more.

(15 Dec '13, 13:23) Jacul