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

Make error when building Wirshark : uic: could not find a Qt installation of ‘'

0

Hi,

I am trying to build wireshark on ubuntu 12.04.

I ran ./autogen.sh and ./configure.

./configure complained about uninstalled packages and I ran the following commands to get it work

 pkg-config --libs --cflags Qt5Core
 sudo apt-get install qt5-default qttools5-dev-tools
 sudo apt-get install qtdeclarative5-dev
 sudo aptitude install build-essential automake autoconf libgtk2.0-dev libglib2.0-dev libpcap0.8-dev flex bison
 sudo apt-get install build-essential automake autoconf libgtk2.0-dev libglib2.0-dev libpcap0.8-dev flex bison

I then did a make and I am seeing this error:

uic: could not find a Qt installation of ''

Do I have to set any environment variables?

asked 20 Mar '14, 00:03

niks3089's gravatar image

niks3089
21151518
accept rate: 0%


One Answer:

0

I ran into that problem last year. See: http://www.wireshark.org/lists/wireshark-dev/201306/msg00186.html

Give this a try:

sudo apt-get install qt-devel

answered 20 Mar '14, 07:12

cmaynard's gravatar image

cmaynard ♦♦
9.4k1038142
accept rate: 20%