fix deploy

This commit is contained in:
Andrei Yankovich 2023-10-01 12:50:23 +02:00
parent 4c1bfe5aa7
commit 02c45ea0a3
6 changed files with 4 additions and 54 deletions

4
.gitignore vendored
View File

@ -69,6 +69,6 @@ _deps
# Configured files # Configured files
build.gradle build.gradle
AndroidManifest.xml AndroidManifest.xml
src/Example/Deploy/RENAME_ME.json src/qTbot/src/public/qTbot/global.h
src/Library/src/public/RENAME_ME/global.h src/example/deploy/qTbot.json
doxygen.conf doxygen.conf

View File

@ -58,4 +58,3 @@ endif()
configure_file_in(${PROJECT_NAME} ${CMAKE_CURRENT_SOURCE_DIR}/doxygen.conf) configure_file_in(${PROJECT_NAME} ${CMAKE_CURRENT_SOURCE_DIR}/doxygen.conf)
addDoc(${PROJECT_NAME} ${CMAKE_CURRENT_SOURCE_DIR}/doxygen.conf) addDoc(${PROJECT_NAME} ${CMAKE_CURRENT_SOURCE_DIR}/doxygen.conf)
addDeployFromCustomFile("qTbot" "${CMAKE_CURRENT_SOURCE_DIR}/deploy/qTbot.json")

View File

@ -23,7 +23,7 @@ At this time This library supports next platforms:
## Using ## Using
``` cpp ```cpp
#include <qTbot/telegramrestbot.h> #include <qTbot/telegramrestbot.h>
#include <qTbot/messages/telegrammsg.h> #include <qTbot/messages/telegrammsg.h>

View File

@ -98,8 +98,8 @@ else()
message(GIT_COMMIT_COUNT = ${GIT_COMMIT_COUNT}) message(GIT_COMMIT_COUNT = ${GIT_COMMIT_COUNT})
set(DeployFile )
configure_file_in(${CURRENT_PROJECT} "${CMAKE_CURRENT_SOURCE_DIR}/deploy/qTbot.json" @ONLY) configure_file_in(${CURRENT_PROJECT} "${CMAKE_CURRENT_SOURCE_DIR}/deploy/qTbot.json" @ONLY)
addDeployFromCustomFile(${CURRENT_PROJECT} "${CMAKE_CURRENT_SOURCE_DIR}/deploy/qTbot.json")
endif() endif()

View File

@ -1,27 +0,0 @@
{
"bin": [
"src/build/Debug/qTbotEaxample",
"src/build/Debug/qTbotEaxample.exe"
],
"clear": true,
"binPrefix": "/home/andrei/git/build-qTbot-Desktop_Qt_6_5_2_GCC_64bit-Debug",
"libDir": [
"/home/andrei/git/qTbot",
"/home/andrei/Qt/6.5.2/gcc_64",
"/home/andrei/git/build-qTbot-Desktop_Qt_6_5_2_GCC_64bit-Debug"
],
"recursiveDepth": "10",
"deploySystem": false,
"qmlDir": "../",
"deb": true,
"qif": true,
"zip": true,
"ignoreEnv": [
"/home/andrei/git/qTbot/Distro"
],
"extraLib": "crypto",
"targetDir": "/home/andrei/git/qTbot/Distro",
"deployVersion": "0.28.fa99f10",
}

View File

@ -1,22 +0,0 @@
//#
//# Copyright (C) 2023-2023 QuasarApp.
//# Distributed under the GPLv3 software license, see the accompanying
//# Everyone is permitted to copy and distribute verbatim copies
//# of this license document, but changing it is not allowed.
//#
#ifndef qTbot_GLOBAL_H
#define qTbot_GLOBAL_H
#include <QtCore/qglobal.h>
#define QTBOT_VERSION "0.30.efa3b97"
#if defined(QTBOT_LIBRARY)
# define QTBOT_EXPORT Q_DECL_EXPORT
#else
# define QTBOT_EXPORT Q_DECL_IMPORT
#endif
#endif //qTbot_GLOBAL_H