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

FTBFS: QApplication.cpp fatal error: QQuickStyle: No such file or directory #6

Open
bluet opened this issue Jul 1, 2017 · 4 comments
Labels

Comments

@bluet
Copy link

bluet commented Jul 1, 2017

1st case:
Install/build with system Qt

ENV:
bluet@Titania:~/local/V-PlaySDK$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 16.04.2 LTS
Release:	16.04
Codename:	xenial
bluet@Titania:~/local/V-PlaySDK$ qmake -v
QMake version 3.0
Using Qt version 5.5.1 in /usr/lib/x86_64-linux-gnu
bluet@Titania:~/local/V-PlaySDK$ sudo apt install qt5-default qtquick1-5-dev qtquick1-5-dev-tools qtcreator qt5-qmake qtdeclarative5-dev qtquick1-5-dev qml-module-qtquick-controls qtmultimedia5-dev qtbase5-private-dev qml-module-qtquick-controls
bluet@Titania:~/workspace/brig-example-app$ npm install brig

Log:

npm-debug.log.txt

@bluet
Copy link
Author

bluet commented Jul 1, 2017

2nd case:
with 5.9.0 with V-Play

ENV:
bluet@Titania:~/local/V-PlaySDK$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 16.04.2 LTS
Release:	16.04
Codename:	xenial
bluet@Titania:~/workspace/brig-example-app$ LANG=C PATH=~/local/V-PlaySDK/5.9/gcc_64/bin/:$PATH PKG_CONFIG_PATH=~/local/V-PlaySDK/5.9/gcc_64/lib/pkgconfig/ CPATH=/home/bluet/local/V-PlaySDK/5.9/gcc_64/include/QtCore/5.9.0/:/home/bluet/local/V-PlaySDK/5.9/gcc_64/include/:/home/bluet/local/V-PlaySDK/5.9/gcc_64/:/home/bluet/local/V-PlaySDK/5.9/Src/ qmake -v
QMake version 3.1
Using Qt version 5.9.0 in /home/bluet/local/V-PlaySDK/5.9/gcc_64/lib
bluet@Titania:~/workspace/brig-example-app$ LANG=C PATH=~/local/V-PlaySDK/5.9/gcc_64/bin/:$PATH PKG_CONFIG_PATH=~/local/V-PlaySDK/5.9/gcc_64/lib/pkgconfig/ CPATH=/home/bluet/local/V-PlaySDK/5.9/gcc_64/include/QtCore/5.9.0/:/home/bluet/local/V-PlaySDK/5.9/gcc_64/include/:/home/bluet/local/V-PlaySDK/5.9/gcc_64/:/home/bluet/local/V-PlaySDK/5.9/Src/ npm install brig

Same error

Log:
npm-debug.log.txt

@bluet
Copy link
Author

bluet commented Jul 1, 2017

BTW, does brig support linux? Or only Mac/darwin?

@cfsghost cfsghost added the bug label Jul 1, 2017
@cfsghost
Copy link
Collaborator

cfsghost commented Jul 1, 2017

Yup, it has Linux support, but you have to install Qt development environment to build brig by yourself.

Document of QQuickStyle said that QQuickStyle was implemented since Qt 5.7, so I think it's version issue cause QQuickStyle header is not found if you are using too old version of Qt.

For 2nd case, there is known issue you might get is that Qt version is too new. Actually, I don't test brig on Qt 5.8+ yet, but according to user's report, brig cannot be built since Qt 5.8. I just attempt to fix this bug.

If you can not wait for me to fix it, trying to use Qt 5.7 to build brig, it should work.

@polarathene
Copy link

Not sure if this will help, I've been looking into using QtQuick 2.7(Qt 5.7+) and with python it seems you need to have an environment value to point out where this module resides.

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

No branches or pull requests

3 participants