Closed DmitryDemidov80 closed 4 years ago
It looks like Qt-Secret is not built. You can show me your PRO files?
TEMPLATE = subdirs
CONFIG += ordered
SUBDIRS += \
Qt-Secret \
MyProject \
CONFIG += c++11
SOURCES += \
main.cpp \
include($$PWD/../src/Qt-Secret.pri)
I don't have the main .pro-file
My .pro-file: ` QT += core gui serialport network CONFIG += c++17 VERSION = 2.0.0 DEFINES += APP_VERSION=\\"$$VERSION\\" greaterThan(QT_MAJOR_VERSION, 4): QT += widgets TEMPLATE = app DEFINES += QT_DEPRECATED_WARNINGS QMAKE_LFLAGS_RELEASE += -static -static-libgcc
include($$PWD/Qt-Secret/src/Qt-Secret.pri)
include(Logger/Logger.pri) include(QtXlsx/src/xlsx/qtxlsx.pri) include(updater_app/updater_app.pri)
TARGET = myapp DESTDIR = ../qtbin/myapp
SOURCES += here *.cpp
HEADERS += here *.h
FORMS += here all forms `
I try to build for example Qt-Secret-GUI.pro but failed. OS: Windows 10 64 bit,
Should I have a main .pro-file?
I still think that you will need main.pro, since this is the most convenient way to assemble all system components from a single file.
Thanks!
do you manage to build Qt-Secret (main project) from QtCreator? If you have problems, then they will arise when using main.pro. Write and show the build log, we will solve your problems.
Yes, i can build Qt-Secret from Qt Creator. I have to remanage project to create MainProject.pro-file and add Qt-Secret and my project as subdirs.
Right. If this solves your problem, please close this issue.
Hi! I downloaded src Qt-Secret, git submodule update --init --recursive, etc... I included in my .pro-file
include($$PWD/Qt-Secret/src/Qt-Secret.pri)
but get errors: cannot find -lQt-Secret1 and cannot find -lQtBigInt6I try to build Qt-Secret-GUI.pro but get same error
MinGW, Qt 5.14.2 What i'm doing wrong? Thanks!