how to disable quick related features in C++ widget application
-
Hi,
I have an application with pure C++ widget (macOS, Qt5.15), and
no qml,
no virtual keyboard.But when I finished
macdeployqt, there are related frameworks in xxx.app/Contents/FrameworksQtQml.framework QtQmlModels.framework QtQuick.framework QtVirtualKeyboard.frameworkIs there any way to exclude them? In .pro or .qmake.conf ?
Thanks. -
Hi,
I have an application with pure C++ widget (macOS, Qt5.15), and
no qml,
no virtual keyboard.But when I finished
macdeployqt, there are related frameworks in xxx.app/Contents/FrameworksQtQml.framework QtQmlModels.framework QtQuick.framework QtVirtualKeyboard.frameworkIs there any way to exclude them? In .pro or .qmake.conf ?
Thanks. -
@jsulm said in how to disable quick related features in C++ widget application:
@CraZy Can you show your pro file?
QT += core gui widgets network printsupport sql CONFIG += c++14Do you pass -qml parameter to macdeployqt?
macdeployqt xxx.appwithout any optionsAnd I'm sure that I do not use qml or virtual Keyboard in my code.
-
@jsulm said in how to disable quick related features in C++ widget application:
@CraZy Can you show your pro file?
QT += core gui widgets network printsupport sql CONFIG += c++14Do you pass -qml parameter to macdeployqt?
macdeployqt xxx.appwithout any optionsAnd I'm sure that I do not use qml or virtual Keyboard in my code.
-
Hi,
Can you call
otool -Lon your binary ? AFAIR, macdeployqt should only deploy frameworks linked by your application. -
Hi,
Can you call
otool -Lon your binary ? AFAIR, macdeployqt should only deploy frameworks linked by your application.@SGaist
I checked the output ofotool -Lof the binary and all 3rd-party libs used in this project.
No qml or virtual keyboard related lines.Interesting problem, the app can work successfully while deleting
QtQml.framework QtQmlModels.framework QtQuick.framework QtVirtualKeyboard.frameworkmanually.
-
@SGaist
I checked the output ofotool -Lof the binary and all 3rd-party libs used in this project.
No qml or virtual keyboard related lines.Interesting problem, the app can work successfully while deleting
QtQml.framework QtQmlModels.framework QtQuick.framework QtVirtualKeyboard.frameworkmanually.
Just to be sure, which version of 5.15 are you using ?