Good day.
Faced such a problem: when building a QT project via qt-creator->сборка проекта shared library file is qt-creator->сборка проекта instead of the executable file:
file QuckLesson
QuckLesson: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=d976b3b965cd47bfefc4efa17345c7a6e06a73ea, not stripped
QuckLesson.pro:
TEMPLATE = app TARGET = QuckLesson INCLUDEPATH += . QT += core gui qml DEFINES += QT_DEPRECATED_WARNINGS HEADERS += bhacasing.h brinecalc.h mudmixing.h weighting.h SOURCES += bhacasing.cpp brinecalc.cpp main.cpp mudmixing.cpp weighting.cpp RESOURCES += qml.qrc As a result, the file that is assembled can only be launched from under the console. Tell me why the non-executable file is assembled when specifying TEMPLATE = app or where there may be an error?
./QuckLessonand then the program window appears and the program itself works correctly, then why would this file have any other libraries? Then it would be logical to assume that it did not start from the console, but cursed the absence of any libraries. And this does not happen. - el_madcapo