* [Buildroot] Disable qt5declarative dependency on GUI
@ 2021-11-13 11:45 Кузьминов Сергей
2021-11-14 14:56 ` Peter Seiderer
0 siblings, 1 reply; 2+ messages in thread
From: Кузьминов Сергей @ 2021-11-13 11:45 UTC (permalink / raw)
To: buildroot
[-- Attachment #1: Type: text/plain, Size: 488 bytes --]
Hello. My English is poor. You need to remove the "select
BR2_PACKAGE_QT5BASE_GUI" dependency from the
package/qt5/qt5declarative/Config.in file.
This is needed to build Qt console applications without a GUI. The
qt5declarative library is needed as a replacement for the outdated
qt5script.
Some aspects of qt5declarative are not GUI related:
https://doc.qt.io/qt-5/qjsengine.html
A simple example:
QJSEngine myEngine;
QJSValue three = myEngine.evaluate("1 + 2");
Thanks a lot!
[-- Attachment #2: disable-qt5declarative-dependency-on-GUI.patch --]
[-- Type: text/x-patch, Size: 497 bytes --]
diff -u -r -N a/package/qt5/qt5declarative/Config.in b/package/qt5/qt5declarative/Config.in
--- a/package/qt5/qt5declarative/Config.in 2021-11-10 15:17:38.000000000 +0300
+++ b/package/qt5/qt5declarative/Config.in 2021-11-13 14:36:45.631113368 +0300
@@ -1,7 +1,6 @@
config BR2_PACKAGE_QT5DECLARATIVE
bool "qt5declarative"
depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE
- select BR2_PACKAGE_QT5BASE_GUI
help
Qt is a cross-platform application and UI framework for
developers using C++.
[-- Attachment #3: Type: text/plain, Size: 150 bytes --]
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-11-14 14:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-13 11:45 [Buildroot] Disable qt5declarative dependency on GUI Кузьминов Сергей
2021-11-14 14:56 ` Peter Seiderer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox