mavlink / qgroundcontrol

Cross-platform ground control station for drones (Android, iOS, Mac OS, Linux, Windows)
http://qgroundcontrol.io
3.26k stars 3.59k forks source link

Issue compiling from source. #1156

Closed tonybaltovski closed 9 years ago

tonybaltovski commented 9 years ago

On Ubuntu 14.04, I am having problems compiling from source. I checkout the latest master. I run qmake and get this

balto@Celeron:~/qgroundcontrol$ qmake
Project MESSAGE: Qt version 5.2.1
Project MESSAGE: Linux build
Project MESSAGE: Release flavor
Project MESSAGE: BASEDIR /home/balto/qgroundcontrol DESTDIR /home/balto/qgroundcontrol/release TARGET qgroundcontrol
Project WARNING: No MAVLink dialect specified, only common messages supported.
Project WARNING: Skipping support for OpenSceneGraph (missing libraries, see README)
Project MESSAGE: Skipping support for Google Earth view (unsupported platform)
Project MESSAGE: Skipping support for XBee API (64-bit Linux builds not supported)
Project WARNING: Skipping support for 3DConnexion mice (missing libraries, see README)
Project MESSAGE: Skipping support for RT-LAB (unsupported platform)
Project WARNING: Skipping support for speech output (missing libraries, see README)
Project ERROR: Unknown module(s) in QT: quickwidgets

And then make and get

balto@Celeron:~/qgroundcontrol$ make
make: *** No targets specified and no makefile found.  Stop.

Any ideas how to fix this?

thomasgubler commented 9 years ago

I am not sure if this is the reason of the error but you will need QT 5.3. Upgrade to ubuntu 14.10 or install https://launchpad.net/~beineri/+archive/ubuntu/opt-qt532-trusty (note the instructions on top of the page)

tonybaltovski commented 9 years ago

Thanks Thomas!