attempting to deploy app, but ...
-
installed qt-everywhere-src-5.15.13
from konsole:
QFactoryLoader::QFactoryLoader() ignoring "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3" since plugins are disabled in static buildsadded:
#include <QtPlugin>
Q_IMPORT_PLUGIN(QXcbIntegrationPlugin)gave:
error: undefined reference to `qt_static_plugin_QXcbIntegrationPlugin()'~$ locate QXcbIntegration
gives:
/Qt/Tools/QtDesignStudio/qt6_design_studio_reduced_version/lib/cmake/Qt6Gui/Qt6QXcbIntegrationPluginAdditionalTargetInfo.cmake
/Qt/Tools/QtDesignStudio/qt6_design_studio_reduced_version/lib/cmake/Qt6Gui/Qt6QXcbIntegrationPluginConfig.cmake
/Qt/Tools/QtDesignStudio/qt6_design_studio_reduced_version/lib/cmake/Qt6Gui/Qt6QXcbIntegrationPluginConfigVersion.cmake
/Qt/Tools/QtDesignStudio/qt6_design_studio_reduced_version/lib/cmake/Qt6Gui/Qt6QXcbIntegrationPluginConfigVersionImpl.cmake
/Qt/Tools/QtDesignStudio/qt6_design_studio_reduced_version/lib/cmake/Qt6Gui/Qt6QXcbIntegrationPluginTargets-relwithdebinfo.cmake
/Qt/Tools/QtDesignStudio/qt6_design_studio_reduced_version/lib/cmake/Qt6Gui/Qt6QXcbIntegrationPluginTargets.cmakeseems there is no QXcbIntegrationPlugin library
where should it be [since konsole does not always find stuff] and how to install it?also added to .pro:
CONFIG -= import_plugins
CONFIG += static
QTPLUGIN.platforms = qminimal qxcbwith no change
[ well, i found class QXcbIntegrationPlugin in qxcbmzin.cpp, so Q_IMPORT_PLUGIN(QXcbIntegrationPlugin) should work ]
-
@micha_eleric Nothing in the body of your post is related to deployment of your application. You install a set of Qt source code, modify some source code (possibly yours), share a linker error, and modify a project definition that appears to be trying to make static executable. These are all build activities.
Please have another go at describing what you are trying to achieve, what you have done, the build environment, and the issue.
-
@ChrisW67 said in attempting to deploy app, but ...:
@micha_eleric Nothing in the body of your post is related to deployment of your application. You install a set of Qt source code, modify some source code (possibly yours), share a linker error, and modify a project definition that appears to be trying to make static executable. These are all build activities.
Please have another go at describing what you are trying to achieve, what you have done, the build environment, and the issue.
[what i did]
installed qt-everywhere-src-5.15.13[1st error i get when i click deploy on a project that ran fine with 5.12.12 but with debug and release ]
from konsole:
QFactoryLoader::QFactoryLoader() ignoring "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3" since plugins are disabled in static builds[what i did next]
added:
#include <QtPlugin>
Q_IMPORT_PLUGIN(QXcbIntegrationPlugin)[next error i get when i click deploy on a project that ran fine with 5.12.12 but with debug and release]
gave:
error: undefined reference to `qt_static_plugin_QXcbIntegrationPlugin()'[what i did next]
~$ locate QXcbIntegration
gives:
/Qt/Tools/QtDesignStudio/qt6_design_studio_reduced_version/lib/cmake/Qt6Gui/Qt6QXcbIntegrationPluginAdditionalTargetInfo.cmake
/Qt/Tools/QtDesignStudio/qt6_design_studio_reduced_version/lib/cmake/Qt6Gui/Qt6QXcbIntegrationPluginConfig.cmake
/Qt/Tools/QtDesignStudio/qt6_design_studio_reduced_version/lib/cmake/Qt6Gui/Qt6QXcbIntegrationPluginConfigVersion.cmake
/Qt/Tools/QtDesignStudio/qt6_design_studio_reduced_version/lib/cmake/Qt6Gui/Qt6QXcbIntegrationPluginConfigVersionImpl.cmake
/Qt/Tools/QtDesignStudio/qt6_design_studio_reduced_version/lib/cmake/Qt6Gui/Qt6QXcbIntegrationPluginTargets-relwithdebinfo.cmake
/Qt/Tools/QtDesignStudio/qt6_design_studio_reduced_version/lib/cmake/Qt6Gui/Qt6QXcbIntegrationPluginTargets.cmakeseems there is no QXcbIntegrationPlugin library
where should it be [since konsole does not always find stuff] and how to install it?also added to .pro:
CONFIG -= import_plugins
CONFIG += static
QTPLUGIN.platforms = qminimal qxcbwith no change
[what i found next]
[ well, i found class QXcbIntegrationPlugin in qxcbmzin.cpp, so Q_IMPORT_PLUGIN(QXcbIntegrationPlugin) should work ] -
@micha_eleric said in attempting to deploy app, but ...:
installed qt-everywhere-src-5.15.13
I still fail to understand what you're doing. What do you mean by "installed qt-everywhere-src-5.15.13" - do you mean you built Qt by yourself?
You alse seem to built Qt statically (@ChrisW67 pointed out that already) - is that what you want?
-
@jsulm said in attempting to deploy app, but ...:
@micha_eleric said in attempting to deploy app, but ...:
installed qt-everywhere-src-5.15.13
I still fail to understand what you're doing. What do you mean by "installed qt-everywhere-src-5.15.13" - do you mean you built Qt by yourself?
You alse seem to built Qt statically (@ChrisW67 pointed out that already) - is that what you want?
https://doc.qt.io/qt-6/linux-deployment.html#application-dependencies