Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fedora build #182

Closed
vorburger opened this issue Apr 28, 2019 · 3 comments
Closed

Fedora build #182

vorburger opened this issue Apr 28, 2019 · 3 comments

Comments

@vorburger
Copy link
Contributor

I'm trying to build this project on Fedora 29, and (so far) failing...

master...vorburger:docFedoraBuild has how far I got so far, and it currently fails with:

qmake-qt5 && make
cd ykman-gui/ && ( test -e Makefile || /usr/bin/qmake-qt5 -o Makefile /home/vorburger/dev/YubiKey/git/yubikey-manager-qt/ykman-gui/ykman-gui.pro ) && make -f Makefile 
Project MESSAGE: Version of this build: 1.1.1
Project ERROR: Unknown module(s) in QT: quickcontrols2
make: *** [Makefile:46: sub-ykman-gui-make_first] Error 3

Having dnf install-ed the qt5-qtquickcontrols2 package, I don't understand what's still missing?

@vorburger
Copy link
Contributor Author

I don't understand what's still missing?

just needed the respective -devel packages, now builds fine.

Now another problem when starting it, anyone got a clue what this means / which package it needs:

$ ./ykman-gui
QQmlApplicationEngine failed to load component
qrc:/qml/main.qml:30 Type Header unavailable
qrc:/qml/Header.qml:4 module "QtQuick.Dialogs" is not installed

[1]    18104 segmentation fault (core dumped)  ./ykman-gui

@dagheyman
Copy link

Could it be the qt5-qtquickcontrols package that is missing? In the debian world my guess would be the qml-module-qtquick-dialogs package, but not sure it's split up in the same way in Fedora.

@vorburger
Copy link
Contributor Author

Could it be the qt5-qtquickcontrols package that is missing?

yup! That helps; so qt5-qtquickcontrols2-devel for build and qt5-qtquickcontrols at runtime.

FTR, the next problem was:

./ykman-gui                         
QQmlApplicationEngine failed to load component
qrc:/qml/main.qml:106 Type YubiKey unavailable
qrc:/qml/YubiKey.qml:2 module "io.thp.pyotherside" is not installed

[1]    3977 segmentation fault (core dumped)  ./ykman-gui

and installing the package named simply pyotherside on Fedora took care of that - it now starts!!

I'll raise a PR for the doc with these findings in a sec.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants