tetzank / qmenu_hud

a small menu search program, similar to Unity's HUD
Other
45 stars 3 forks source link

QtCore could not be found there. Qt is NOT installed correctly for the #5

Closed edouard-lopez closed 7 years ago

edouard-lopez commented 7 years ago
$ cmake ..
CMake Warning at /usr/share/cmake-3.5/Modules/FindQt4.cmake:626 (message):
  /usr/bin/qmake reported QT_INSTALL_LIBS as "/usr/lib/x86_64-linux-gnu" but
  QtCore could not be found there.  Qt is NOT installed correctly for the
  target build environment.
Call Stack (most recent call first):
  CMakeLists.txt:17 (find_package)

CMake Error at /usr/share/cmake-3.5/Modules/FindQt4.cmake:634 (message):
  Could NOT find QtCore.  Check
  /data/apps/qmenu_hud/CMakeFiles/CMakeError.log for more details.
Call Stack (most recent call first):
  CMakeLists.txt:17 (find_package)

-- Configuring incomplete, errors occurred!
See also "/data/apps/qmenu_hud/CMakeFiles/CMakeOutput.log".
See also "/data/apps/qmenu_hud/CMakeFiles/CMakeError.log".
edouard-lopez commented 7 years ago

Install QT4 dev package:

apt install cmake gcc g++ qt{4,5}-qmake libqt4-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
g++ is already the newest version (4:5.3.1-1ubuntu1).
gcc is already the newest version (4:5.3.1-1ubuntu1).
qt4-qmake is already the newest version (4:4.8.7+dfsg-5ubuntu2).
cmake is already the newest version (3.5.1-1ubuntu3).
qt5-qmake is already the newest version (5.5.1+dfsg-16ubuntu7.1).
The following additional packages will be installed:
  libqt4-dev-bin qt4-linguist-tools
Suggested packages:
  firebird-dev libmysqlclient-dev libpq-dev libsqlite0-dev libsqlite3-dev qt4-dev-tools qt4-doc unixodbc-dev
Recommended packages:
  libqt4-opengl-dev
The following NEW packages will be installed:
  libqt4-dev libqt4-dev-bin qt4-linguist-tools
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 3 334 kB of archives.
After this operation, 23,9 MB of additional disk space will be used.
Do you want to continue? [Y/n]
werewolfdev commented 2 years ago

Hey I have the same issue in Windows OS. @edouard-lopez Could you pls tell how I could install the QT4 dev packages in Windoes