FRC-Utilities / QDriverStation

Cross-platform clone of the FRC Driver Station
https://frc-utilities.github.io
MIT License
189 stars 26 forks source link

Can't compile on Ubuntu 14.04 -- How do I get qml? #6

Closed PeterMitrano closed 8 years ago

PeterMitrano commented 8 years ago

I'm unfamiliar with qmake, but running it in the root of this projects tells me i'm missing qml. I've tried several packages (qml qtdeclarative5-dev libqt5declarative5)

What package do I need?

Project MESSAGE: Warning: unknown QT: qml

BearzRobotics commented 8 years ago

This is the command I used to compile.

sudo apt-get install libsdl2-dev qtcreator qtmultimedia5-dev libqt5multimediawidgets5 libqt5multimedia5-plugins libqt5multimedia5 && git clone https:// https://github.com/WinT-3794/QDriverStation.gitgithub.com https://github.com/WinT-3794/QDriverStation.git/ https://github.com/WinT-3794/QDriverStation.gitWinT https://github.com/WinT-3794/QDriverStation.git-3794/ https://github.com/WinT-3794/QDriverStation.gitQDriverStation.git https://github.com/WinT-3794/QDriverStation.git && cd QDriverStation && qmake && make && sudo make install

PeterMitrano commented 8 years ago

...can I do it without installing qtcreator? That seems like a terrible dependency.

BearzRobotics commented 8 years ago

Yes, I had a few dependence issues with my laptop, with ubuntu ask already installed. On Jan 28, 2016 8:23 PM, "Peter Mitrano" notifications@github.com wrote:

...can I do it without installing qtcreator? That seems like a terrible dependency.

— Reply to this email directly or view it on GitHub https://github.com/WinT-3794/QDriverStation/issues/6#issuecomment-176510271 .

BearzRobotics commented 8 years ago

Ubuntu sdk

PeterMitrano commented 8 years ago

I still says I don't have qml. I'm installed all of those things except qtcreator

BearzRobotics commented 8 years ago

Could you post the exact terminal output, so that i and other don't just start shooting in the dark please.

One thing you could try is going to qt website and install that. You won't have to run it as root. By not doing this it will want to install to '/home/(UserName)'/Qt. Then its all kept separate from your main system.

http://www.qt.io/download-open-source/

i:a man dakota james owen of the family keeler am an ambassador for Christ

alex-spataru commented 8 years ago

You can check the travis.yml file, as far as I know it specifies all the dependencies of the QDriverStation.

Let me know if that solves your issue.

PeterMitrano commented 8 years ago

Alex you are a champ--that travis file helped a lot. Running with qt=qt5 was required... Thanks guys. Looking forward to testing this with FRCSim (I'm the lead on that project)

alex-spataru commented 8 years ago

I am glad that this could help you! Please let me know if I need to modify something in the QDriverStation to make it work with the FRCSim.