FRC-Utilities / QDriverStation

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

module "QtQuick.Controls" is not installed #37

Closed calebeby closed 8 years ago

calebeby commented 8 years ago

When I run qdriverstation, I get this:

using qt5ct plugin
00:00.1        DEBUG         Initializing DriverStation...
00:00.2        DEBUG         DriverStation initialized!
00:00.2        WARNING       QQmlApplicationEngine failed to load component
00:00.2        WARNING       qrc:/qml/main.qml:111 Type LogsWindow unavailable
qrc:/qml/Dialogs/LogsWindow.qml:26 module "QtQuick.Controls" is not installed

00:00.2        WARNING       QProcess: Destroyed while process ("bash") is still running.
00:00.2        WARNING       QProcess: Destroyed while process ("bash") is still running.
00:00.2        DEBUG         DS networking operations stopped
00:00.2        DEBUG         Log buffer closed
00:00.2        WARNING       QObject::startTimer: Timers can only be used with threads started with QThread

I don't know how to install QtQuick.Controls.

alex-spataru commented 8 years ago

Hello, check that you have the following packages installed in your system:

The QDriverStation is tested with Ubuntu 15.10 and above. If you are using an older system (e.g. a distro based on Ubuntu 14.04), you may need to obtain and install some of these packages manually (this may help you!).

Sorry for the late reply!

calebeby commented 8 years ago

I am running arch, and the AUR package didn't work.

calebeby commented 8 years ago

Now, I'm re-running the install (from AUR), it looks like it's getting farther than it did yesterday.

lopsided98 commented 8 years ago

I just updated the package and fixed that a couple of days ago, so it should work now.

lopsided98 commented 8 years ago

I just realized that I forgot to fix the -git package, if that's what you're running then it still won't work. I'll fix it right now.

calebeby commented 8 years ago

Yeah, yesterday I was installing the -git package, today the qdriverstation package is getting farther.

alex-spataru commented 8 years ago

@lopsided98 If you need the full list of dependencies (build & release), check the Snapcraft build config, it contains every dependency required to use the QDriverStation.

lopsided98 commented 8 years ago

The -git package should work now.

calebeby commented 8 years ago

The not -git package worked, I did not test the -git one. This looks really cool, except that I'm in a tiling WM (i3). What happens when the window is too big for the DS is it jumps up and down. I had to make the window a floating window to make this stop. Maybe you can make it just stick to the bottom of the window?

alex-spataru commented 8 years ago

You have an option to "dock" the window in a manner similar to the official DS...maybe it could work for you.

I have never used i3 or tested QDS on it, so my assumption could be wrong.

calebeby commented 8 years ago

When it is jumping up and down it is nearly impossible to click the button to dock it.

calebeby commented 8 years ago

When I am able to click the dock button it only makes the hum sound, but does not dock. i3 overrides the window's dimensions if the window is tiled (which, by default, it is).

alex-spataru commented 8 years ago

Maybe we can tweak the window flags to fix your issue, however, its up to the WM to respect those flags.

calebeby commented 8 years ago

I think it's OK if it's tiled by default, as long as it the content doesn't jump up and down.

On Mon, Sep 12, 2016 at 7:55 PM, Alex Spataru notifications@github.com wrote:

Maybe we can tweak the window flags to fix your issue, however, its up to the WM to respect those flags.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/FRC-Utilities/QDriverStation/issues/37#issuecomment-246558895, or mute the thread https://github.com/notifications/unsubscribe-auth/AMmFofY2P6GtnvFBTY79vCW7Ge3IzYxIks5qphCPgaJpZM4J6MBo .

alex-spataru commented 8 years ago

@calebeby To keep things organized, I will create a new issue with your WM's problems and mention you there.