alamminsalo / qml-launcher

Desktop application launcher for Linux
MIT License
74 stars 35 forks source link

Installation issues #4

Open rainer2208 opened 5 years ago

rainer2208 commented 5 years ago

Hi, I am having problems to install the launcher. My platform is Ubuntu18.10 with Budgie desktop.

I have installed QT4 with : sudo apt install qt4-default .

When I execute : "qmake .." , I get the following error message:

   Project MESSAGE: Warning: unknown QT: qml
   Project MESSAGE: Warning: unknown QT: quick

Yet the file "Makefile" is created in the Build folder.

When I run "make", this is the error message I get:

    g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DQT_DEPRECATED_WARNINGS
    -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4
    /mkspecs/linux-        g++-64 -I../../qml-launcher-master -I/usr/include/qt4/QtCore -I/usr/include
    /qt4/QtGui -I/usr/include/qt4 -I. -I../../qml-launcher-master -I. -o main.o ../src/main.cpp
    ../src/main.cpp:1:10: fatal error: QGuiApplication: No such file or directory
     #include <QGuiApplication>
      ^~~~~~~~~~~~~~~~~
    compilation terminated.
    make: *** [Makefile:221: main.o] Error 1

Is there a solution to it?

Many thanks in advance.

Rainer

alamminsalo commented 5 years ago

You are going to need Qt5 for it to work