After running `qmake` and then `make` I get the below error.
Seems like it's not picking the gnome environment. Any idea on how to fix this?
(env) launchy $make
cd src/ && make -f Makefile
/home/miki/src/launchy/src
make: Entering directory `/home/miki/src/launchy/src'
make -f Makefile.Release
make: Entering directory `/home/miki/src/launchy/src'
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DSKINS_PATH=\"/opt/share/launchy/skins/\" -DPLUGINS_PATH=\"/opt/lib/launchy/plugins/\" -DPLATFORMS_PATH=\"/opt/lib/launchy/\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../common -Ibuild -I. -o build/main.o main.cpp
main.cpp: In member function ‘void LaunchyWidget::launchItem(CatItem&)’:
main.cpp:391: error: ‘class PlatformBase’ has no member named ‘Execute’
main.cpp: In member function ‘void LaunchyWidget::alternativesRowChanged(int)’:
main.cpp:454: error: cast from ‘void*’ to ‘int’ loses precision
main.cpp: In member function ‘virtual void LaunchyWidget::inputMethodEvent(QInputMethodEvent*)’:
main.cpp:716: warning: statement has no effect
main.cpp: In member function ‘void LaunchyWidget::applySkin(const QString&)’:
main.cpp:1256: error: ‘max’ was not declared in this scope
main.cpp: In member function ‘virtual void LaunchyWidget::mouseReleaseEvent(QMouseEvent*)’:
main.cpp:1291: warning: statement has no effect
main.cpp: In member function ‘void LaunchyWidget::trayIconActivated(QSystemTrayIcon::ActivationReason)’:
main.cpp:1313: warning: enumeration value ‘Unknown’ not handled in switch
main.cpp:1313: warning: enumeration value ‘Context’ not handled in switch
main.cpp:1313: warning: enumeration value ‘DoubleClick’ not handled in switch
main.cpp:1313: warning: enumeration value ‘MiddleClick’ not handled in switch
main.cpp: In member function ‘void LaunchyWidget::setFadeLevel(double)’:
main.cpp:1377: error: ‘min’ was not declared in this scope
main.cpp:1378: error: ‘max’ was not declared in this scope
make: *** Error 1
make: Leaving directory `/home/miki/src/launchy/src'
make: *** Error 2
make: Leaving directory `/home/miki/src/launchy/src'
make: *** Error 2
(env) launchy $
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
After running `qmake` and then `make` I get the below error.
Seems like it's not picking the gnome environment. Any idea on how to fix this?
(env) launchy $make
cd src/ && make -f Makefile
/home/miki/src/launchy/src
make: Entering directory `/home/miki/src/launchy/src'
make -f Makefile.Release
make: Entering directory `/home/miki/src/launchy/src'
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DSKINS_PATH=\"/opt/share/launchy/skins/\" -DPLUGINS_PATH=\"/opt/lib/launchy/plugins/\" -DPLATFORMS_PATH=\"/opt/lib/launchy/\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../common -Ibuild -I. -o build/main.o main.cpp
main.cpp: In member function ‘void LaunchyWidget::launchItem(CatItem&)’:
main.cpp:391: error: ‘class PlatformBase’ has no member named ‘Execute’
main.cpp: In member function ‘void LaunchyWidget::alternativesRowChanged(int)’:
main.cpp:454: error: cast from ‘void*’ to ‘int’ loses precision
main.cpp: In member function ‘virtual void LaunchyWidget::inputMethodEvent(QInputMethodEvent*)’:
main.cpp:716: warning: statement has no effect
main.cpp: In member function ‘void LaunchyWidget::applySkin(const QString&)’:
main.cpp:1256: error: ‘max’ was not declared in this scope
main.cpp: In member function ‘virtual void LaunchyWidget::mouseReleaseEvent(QMouseEvent*)’:
main.cpp:1291: warning: statement has no effect
main.cpp: In member function ‘void LaunchyWidget::trayIconActivated(QSystemTrayIcon::ActivationReason)’:
main.cpp:1313: warning: enumeration value ‘Unknown’ not handled in switch
main.cpp:1313: warning: enumeration value ‘Context’ not handled in switch
main.cpp:1313: warning: enumeration value ‘DoubleClick’ not handled in switch
main.cpp:1313: warning: enumeration value ‘MiddleClick’ not handled in switch
main.cpp: In member function ‘void LaunchyWidget::setFadeLevel(double)’:
main.cpp:1377: error: ‘min’ was not declared in this scope
main.cpp:1378: error: ‘max’ was not declared in this scope
make: *** Error 1
make: Leaving directory `/home/miki/src/launchy/src'
make: *** Error 2
make: Leaving directory `/home/miki/src/launchy/src'
make: *** Error 2
(env) launchy $