what is auto generating LIBS path in makefile "qt creator"
-
@jsulm said in what is auto generating LIBS path in makefile "qt creator":
@micha_eleric said in what is auto generating LIBS path in makefile "qt creator":
Then create a Kit in QtCreator pointing to this Qt build...
And as already suggested take a look at https://doc.qt.io/qt-6/deployment.html to learn how to deploy a Qt application.Set up new Qt versions
To add a Qt version:
Select Preferences > Kits > Qt Versions > Add. [done] Select the qmake executable for the Qt version to add. [[nothing, and no clue where qmake(qmake**) is, what it looks like, nor what folder it might be in]
[ did a search for "qmake", it gave .h .cpp .pro .pri .qdoc Makefile .conf , all i would guess is not close to the qmake that it is looking for. ]
[ i found /usr/bin/qmake, which list as an executable, but when selected and Open, it says The qmake executable /usr/lib/qt5/bin/qmake could not be added: qmake "/usr/lib/qt5/bin/qmake" is not an executable.]
[well, i found /usr/local/Qt-5.15.13/bin/qmake, compiled, but gave:
name
qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. ]
[ well, found:
"Set the environment variable QT_DEBUG_PLUGINS=1 and then run your application. This should give more detailed information on why it failed." results in:
name
QFactoryLoader::QFactoryLoader() ignoring "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3" since plugins are disabled in static builds
qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. ]Select the Qt version to view and edit it. In the Name field, edit the name that Qt Creator suggests for the Qt version. In the qmake path field, you can change the qmake location. If the Qt version is for QNX, enter the path to the QNX SDK in the QNX SDK field.
still wander if i found the correct qmake
@micha_eleric said in what is auto generating LIBS path in makefile "qt creator":
i found /usr/local/Qt-5.15.13/bin/qmake
Bellow you write something about Qt 6.6.3 - so what Qt version did you actually build and where did you install it?
"qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in """ - was XCB plug-in enabled when running configure before building?
"[[nothing, and no clue where qmake(qmake**) is" - where you installed your Qt build...
-
@micha_eleric said in what is auto generating LIBS path in makefile "qt creator":
i found /usr/local/Qt-5.15.13/bin/qmake
Bellow you write something about Qt 6.6.3 - so what Qt version did you actually build and where did you install it?
"qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in """ - was XCB plug-in enabled when running configure before building?
"[[nothing, and no clue where qmake(qmake**) is" - where you installed your Qt build...
@jsulm said in what is auto generating LIBS path in makefile "qt creator":
@micha_eleric said in what is auto generating LIBS path in makefile "qt creator":
i found /usr/local/Qt-5.15.13/bin/qmake
Bellow you write something about Qt 6.6.3 - so what Qt version did you actually build and where did you install it?
"qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in """ - was XCB plug-in enabled when running configure before building?
"[[nothing, and no clue where qmake(qmake**) is" - where you installed your Qt build...
Qt 5.12.12 build from QT creator offline install, which went to Home and somewheres sudo is needed, but did not have features that online install has
Qt 6.6.2 built from Qt Creator online install, which went to Home and somewheres sudo is needed
Qt 5.15.13 built from https://download.qt.io/official_releases/qt/5.15/, which has some in Home and somewheres sudo is needed