-
-
Notifications
You must be signed in to change notification settings - Fork 225
Build JASP with Qt Static libs #6079
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
base: development
Are you sure you want to change the base?
Conversation
Only Common, CommonData, QMLComponnents, R-INterface and SyntaxBridge needs to be compiled with static Qt libraries For this detect this by loading the Qt Core library and set USE_QT_STATIC_QT_LIBS to ON if the QtCore lib is static. The SyntaxBridge is built as a shared library so that it can be used directly by the jaspSyntax R package: for this it uses the qt_import_qml_plugins CMAKE function so that Qt loads automatically the needed (static) plugins in the SyntaxBridge library (with the use of a Dummy.sql that uses all the needed import statement). Also SyntaxBridge needs to load the Qt Minimal plugin platform so that the jaspSyntax can start a Qt application to load the QML form.
|
To test this I guess I first need to build Qt statically? |
I just wanted to set the Static Qt libraries I built (on Windows and Mac) on the static server, but my ssh does not work anymore... |
|
But if you want to build them, load the Qt sources and do the following: |
|
How do you "load the qtcore" I downloaded? |
|
There is a (start of a ) documentation here https://github.com/jasp-stats/jasp-desktop/blob/development/Docs/development/jasp-syntax-guide.md If you have a Windows machine, you can try to install jaspSyntax with remotes ( |
|
|
Works nicely on macos now! |
|
Cant test on windows right now helaas |


Only Common, CommonData, QMLComponnents, R-INterface and SyntaxBridge needs to be compiled with static Qt libraries
For this detect this by loading the Qt Core library and set USE_QT_STATIC_QT_LIBS to ON if the QtCore lib is static.
The SyntaxBridge is built as a shared library so that it can be used directly by the jaspSyntax R package: for this it uses the qt_import_qml_plugins CMAKE function so that Qt loads automatically the needed (static) plugins in the SyntaxBridge library (with the use of a Dummy.sql that uses all the needed import statement).
Also SyntaxBridge needs to load the Qt Minimal plugin platform so that the jaspSyntax can start a Qt application to load the QML form.