Go back to Richel Bilderbeek's homepage.

Go back to Richel Bilderbeek's C++ page.

 

 

 

 

 

(C++) QmakeErrorUnknownModulesInQtLocationSensors

 

QtQt CreatorLubuntu

 

Unknown module(s) in QT: location sensors is a qmake error.

 

# :-1: error: Unknown module(s) in QT: location sensors

 

Technical facts

 

Application type(s)

Operating system(s) or programming environment(s)

IDE(s):

Project type:

C++ standard:

Compiler(s):

Libraries used:

 

 

 

 

 

Qt project file: ./CppQmakeErrorUnknownModulesInQtLocationSensors/CppQmakeErrorUnknownModulesInQtLocationSensors.pro

 

QT += core gui

#To show I compile with Qt5
greaterThan(QT_MAJOR_VERSION, 4) {
  #Add webkitwidgets give the following error under Lubuntu
  # :-1: error: Unknown module(s) in QT: location sensors
  #Under native Windows, however, this works fine
  QT += widgets webkitwidgets #Gives error under Lubuntu

}


# Solution provided by Xiao:
#   sudo apt-get install aptitude
#   sudo aptitude search sensors5|grep dev
#   sudo apt-get install qtsensors5-dev
#   sudo apt-get install qtsensors5-private-dev
#   sudo aptitude search location5|grep dev
#   sudo apt-get install qtlocation5-dev
#   sudo apt-get install qtlocation5-private-de

SOURCES += \
    main.cpp

 

 

 

 

 

./CppQmakeErrorUnknownModulesInQtLocationSensors/main.cpp

 

int main() {}

 

 

 

 

 

Go back to Richel Bilderbeek's C++ page.

Go back to Richel Bilderbeek's homepage.

 

Valid XHTML 1.0 Strict

This page has been created by the tool CodeToHtml