tetzank / qmenu_hud

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

qmake: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qmake': No such file or directory #4

Closed edouard-lopez closed 8 years ago

edouard-lopez commented 8 years ago

Missing requirement

cmake ..
-- The CXX compiler identification is GNU 5.4.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
qmake: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qmake': No such file or directory
CMake Error at /usr/share/cmake-3.5/Modules/FindQt4.cmake:1326 (message):
  Found unsuitable Qt version "" from NOTFOUND, this code requires Qt 4.x
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 8 years ago

If I'm not mistaken this mean we need to install qt-sdk which require ~450Mb of dependencies…

apt install cmake gcc g++ qt-sdk 
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).
cmake is already the newest version (3.5.1-1ubuntu3).
The following additional packages will be installed:
  build-essential libapr1 libaprutil1 libbotan-1.10-1 libclang1-3.6 libdrm-dev libgl1-mesa-dev libglu1-mesa-dev libllvm3.6v5 libobjc-5-dev libobjc4 libphonon-dev libpthread-stubs0-dev libqbscore1
  libqbsqtprofilesetup1 libqt4-dev libqt4-dev-bin libqt4-opengl-dev libqt4-sql-sqlite libqt5clucene5 libqt5concurrent5 libqt5designer5 libqt5designercomponents5 libqt5help5 libqt5test5 libqtwebkit-dev
  libserf-1-1 libsvn1 libx11-dev libx11-xcb-dev libxau-dev libxcb-dri2-0-dev libxcb-dri3-dev libxcb-glx0-dev libxcb-present-dev libxcb-randr0-dev libxcb-render0-dev libxcb-shape0-dev libxcb-sync-dev
  libxcb-xfixes0-dev libxcb1-dev libxdamage-dev libxdmcp-dev libxext-dev libxfixes-dev libxshmfence-dev libxxf86vm-dev mesa-common-dev qt4-designer qt4-dev-tools qt4-doc qt4-doc-html qt4-linguist-tools
  qt4-qmake qtcreator qtcreator-data qtcreator-doc subversion x11proto-core-dev x11proto-damage-dev x11proto-dri2-dev x11proto-fixes-dev x11proto-gl-dev x11proto-input-dev x11proto-kb-dev x11proto-xext-dev
  x11proto-xf86vidmode-dev xorg-sgml-doctools xtrans-dev
Suggested packages:
  firebird-dev libmysqlclient-dev libpq-dev libsqlite0-dev libsqlite3-dev unixodbc-dev libxcb-doc libxext-doc libqt4-dbg libqt4-webkit-dbg libqt4-xmlpatterns-dbg qt-assistant-compat ubuntu-sdk qt5-doc
  db5.3-util subversion-tools
Recommended packages:
  libx11-doc qmlscene qt5-qmake qtbase5-dev-tools qtdeclarative5-dev-tools qttools5-dev-tools qttranslations5-l10n qtxmlpatterns5-dev-tools
The following NEW packages will be installed:
  build-essential libapr1 libaprutil1 libbotan-1.10-1 libclang1-3.6 libdrm-dev libgl1-mesa-dev libglu1-mesa-dev libllvm3.6v5 libobjc-5-dev libobjc4 libphonon-dev libpthread-stubs0-dev libqbscore1
  libqbsqtprofilesetup1 libqt4-dev libqt4-dev-bin libqt4-opengl-dev libqt4-sql-sqlite libqt5clucene5 libqt5concurrent5 libqt5designer5 libqt5designercomponents5 libqt5help5 libqt5test5 libqtwebkit-dev
  libserf-1-1 libsvn1 libx11-dev libx11-xcb-dev libxau-dev libxcb-dri2-0-dev libxcb-dri3-dev libxcb-glx0-dev libxcb-present-dev libxcb-randr0-dev libxcb-render0-dev libxcb-shape0-dev libxcb-sync-dev
  libxcb-xfixes0-dev libxcb1-dev libxdamage-dev libxdmcp-dev libxext-dev libxfixes-dev libxshmfence-dev libxxf86vm-dev mesa-common-dev qt-sdk qt4-designer qt4-dev-tools qt4-doc qt4-doc-html qt4-linguist-tools
  qt4-qmake qtcreator qtcreator-data qtcreator-doc subversion x11proto-core-dev x11proto-damage-dev x11proto-dri2-dev x11proto-fixes-dev x11proto-gl-dev x11proto-input-dev x11proto-kb-dev x11proto-xext-dev
  x11proto-xf86vidmode-dev xorg-sgml-doctools xtrans-dev
0 upgraded, 70 newly installed, 0 to remove and 0 not upgraded.
Need to get 190 MB of archives.
After this operation, 476 MB of additional disk space will be used.
Do you want to continue? [Y/n] 
edouard-lopez commented 8 years ago

Installing qt4-qmake is enough (and require only 4Mb)

apt install cmake gcc g++ qt4-qmake
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).
cmake is already the newest version (3.5.1-1ubuntu3).
The following NEW packages will be installed:
  qt4-qmake
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 1 293 kB of archives.
After this operation, 5 233 kB of additional disk space will be used.
Do you want to continue? [Y/n] 
YiGene commented 6 years ago

sudo apt install qt5-default