1
0
mirror of https://gitee.com/drabel/LibQQt.git synced 2025-01-04 10:18:44 +08:00

use submodule multi-link manager qqt

This commit is contained in:
tianduanrui 2018-06-05 22:15:08 +08:00
parent a562057230
commit f9f68c56ff
64 changed files with 72 additions and 65 deletions

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "multi-link"]
path = multi-link
url = https://gitee.com/drabel/multi-link

View File

@ -2,8 +2,8 @@
##LibQQt主工程入口
##不能随便编译,初始设置要求比较严格,请按照规程设置完整
##-----------------------------------------------------------------
#TEMPLATE = subdirs
#CONFIG += ordered
TEMPLATE = subdirs
CONFIG += ordered
#这几个选项自行决定QQt一次编译完成两个版本
#用户自行选择release还是debug版本使用即可
@ -12,4 +12,6 @@ CONFIG += debug_and_release
CONFIG += build_all
#CONFIG += silent
include(src/qqt.pri)
#注意这里用include保证了路径直接在QQt.pro下边
#如果用SUBDIRS+=会在子目录src里
include(src/qqt.pro)

View File

@ -26,7 +26,7 @@ SUBDIRS =
#QQt is build
#-----------------------------------------------------------------
#第二种引用LibQQt的方式
#方法include(.../LibQQt/multi-link/add_base_manager.pri)
#方法include(.../LibQQt/multi-link/multi-link/add_base_manager.pri)
#QQt提供QQtApplication帮助App管理Application句柄
#SUBDIRS += examples/qqtframe2
#必看

View File

@ -39,7 +39,7 @@ SUBDIRS += examples/animationframe
#QQt is build
#-----------------------------------------------------------------
#第二种引用LibQQt的方式
#方法include(.../LibQQt/multi-link/add_base_manager.pri)
#方法include(.../LibQQt/multi-link/multi-link/add_base_manager.pri)
#QQt提供QQtApplication帮助App管理Application句柄
#
SUBDIRS += examples/qqtframe2

View File

@ -61,4 +61,5 @@ SUBDIRS =
#SUBDIRS += test/qqtffmpegplayer
#测试libQQt的链接
#SUBDIRS += test/giftest
#
SUBDIRS += test/giftest

View File

@ -72,7 +72,7 @@ github link: https://github.com/AbelTian/LibQQt
- 化解C Plus Plus中没有字典类别的尴尬。
3. 添加Multi Link工程管理pri组
- [Multi Link technology](multi-link/add_multi_link_technology.pri),既多链接工程管理技术。
- [add_base_manager.pri](multi-link/add_base_manager.pri)app和lib工程的基础管理者。
- [add_base_manager.pri](multi-link/multi-link/add_base_manager.pri)app和lib工程的基础管理者。
- 基于qmake用户可以轻易的链接LibQQt和添加自定义library。
- 工程版本变更可以使用add_version(1,0,0,0)实现了。
4. 添加gif support Widgets

View File

@ -45,7 +45,7 @@ UI_DIR = obj/ui.h
RCC_DIR = qrc
DESTDIR = bin
include(../../multi-link/add_base_manager.pri)
include(../../multi-link/multi-link/add_base_manager.pri)

View File

@ -36,7 +36,7 @@ FORMS += \
#这句话很重要 启动拷贝很多东西
system (touch main.cpp)
include (../../multi-link/add_base_manager.pri)
include (../../multi-link/multi-link/add_base_manager.pri)
#这个的设置有特点,要先设置
add_version (1,0,0,0)

View File

@ -41,7 +41,7 @@ MOBILITY =
#促使编译源代码qmake pri配置里面的QMAKE_XX_LINK命令就会执行
system("touch main.cpp")
include(../../multi-link/add_base_manager.pri)
include(../../multi-link/multi-link/add_base_manager.pri)

View File

@ -42,7 +42,7 @@ FORMS += \
#促使编译源代码qmake pri配置里面的QMAKE_XX_LINK命令就会执行
system("touch main.cpp")
include(../../multi-link/add_base_manager.pri)
include(../../multi-link/multi-link/add_base_manager.pri)

View File

@ -51,7 +51,7 @@ system("touch main.cpp")
#if you link a library to your app, on android you must select the running kit to the app, not LibQQt e.g.
#user can modify any infomation under this annotation
#-------------------------------------------------
include(../../multi-link/add_base_manager.pri)
include(../../multi-link/multi-link/add_base_manager.pri)

View File

@ -35,7 +35,7 @@ FORMS += \
system("touch main.cpp")
include(../../multi-link/add_base_manager.pri)
include(../../multi-link/multi-link/add_base_manager.pri)

View File

@ -47,7 +47,7 @@ system("touch main.cpp")
msvc{
include($${PWD}\\..\\..\\src\\app_base_manager.pri)
}else{
include(../../multi-link/add_base_manager.pri)
include(../../multi-link/multi-link/add_base_manager.pri)
}

View File

@ -38,7 +38,7 @@ system("touch main.cpp")
#if you link a library to your app, on android you must select the running kit to the app, not LibQQt e.g.
#user can modify any infomation under this annotation
#-------------------------------------------------
include(../../multi-link/add_base_manager.pri)
include(../../multi-link/multi-link/add_base_manager.pri)

View File

@ -40,7 +40,7 @@ system(touch main.cpp)
############################################
#添加所有提供函数的pri 很有美感
############################################
include (../../multi-link/add_base_manager.pri)
include (../../multi-link/multi-link/add_base_manager.pri)
include (../../app-lib/add_library_OpenCV.pri)
############################################

View File

@ -35,7 +35,7 @@ HEADERS += \
FORMS += \
mainwindow.ui
include (../../multi-link/add_base_manager.pri)
include (../../multi-link/multi-link/add_base_manager.pri)
include (../../app-lib/add_library_OpenSceneGraph.pri)
system(touch mainwindow.cpp)

View File

@ -28,7 +28,7 @@ system("touch main.cpp")
#if you link a library to your app, on android you must select the running kit to the app, not LibQQt e.g.
#user can modify any infomation under this annotation
#-------------------------------------------------
include(../../multi-link/add_base_manager.pri)
include(../../multi-link/multi-link/add_base_manager.pri)

View File

@ -25,7 +25,7 @@ SOURCES += main.cpp
system("touch main.cpp")
#用户在console工程中只要不使用LibQQt的图形Class就可以在控制台程序中游刃有余的完成app功能了
#你用也没必要而且不能用控制台工程就是不能用widgets不如在widgets工程当中隐藏窗口然后在某个时机显示
include(../../multi-link/add_base_manager.pri)
include(../../multi-link/multi-link/add_base_manager.pri)
#add_base_manager默认开始app_bundle再关闭一次
CONFIG -= app_bundle

View File

@ -55,10 +55,10 @@ equals(QSYS_PRIVATE, macOS) {
#if you link a library to your app, on android you must select the running kit to the app, not LibQQt e.g.
#user can modify any infomation under this annotation
#-------------------------------------------------
include(../../multi-link/add_base_manager.pri)
include(../../multi-link/multi-link/add_base_manager.pri)
#include(/Users/abel/Develop/a0-develop/LibQQt/multi-link/add_base_manager.pri)
#include(/Users/abel/Develop/a0-develop/LibQQt/multi-link/multi-link/add_base_manager.pri)
#-------------------------------------------------
#user app may use these these settings prefertly

View File

@ -38,7 +38,7 @@ MOBILITY =
system(touch main.cpp)
include(../../multi-link/add_base_manager.pri)
include(../../multi-link/multi-link/add_base_manager.pri)

View File

@ -44,7 +44,7 @@ system("touch main.cpp")
#if you link a library to your app, on android you must select the running kit to the app, not LibQQt e.g.
#user can modify any infomation under this annotation
#-------------------------------------------------
include(../../multi-link/add_base_manager.pri)
include(../../multi-link/multi-link/add_base_manager.pri)

View File

@ -44,7 +44,7 @@ system("touch main.cpp")
#if you link a library to your app, on android you must select the running kit to the app, not LibQQt e.g.
#user can modify any infomation under this annotation
#-------------------------------------------------
include(../../multi-link/add_base_manager.pri)
include(../../multi-link/multi-link/add_base_manager.pri)

View File

@ -25,7 +25,7 @@ system("touch main.cpp")
#if you link a library to your app, on android you must select the running kit to the app, not LibQQt e.g.
#user can modify any infomation under this annotation
#-------------------------------------------------
include(../../multi-link/add_base_manager.pri)
include(../../multi-link/multi-link/add_base_manager.pri)

View File

@ -28,7 +28,7 @@ FORMS += \
system(touch main.cpp)
include(../../multi-link/add_base_manager.pri)
include(../../multi-link/multi-link/add_base_manager.pri)

View File

@ -64,7 +64,7 @@ system("touch main.cpp")
#if you link a library to your app, on android you must select the running kit to the app, not LibQQt e.g.
#user can modify any infomation under this annotation
#-------------------------------------------------
include(../../multi-link/add_base_manager.pri)
include(../../multi-link/multi-link/add_base_manager.pri)

View File

@ -45,7 +45,7 @@ system("touch main.cpp")
#if you link a library to your app, on android you must select the running kit to the app, not LibQQt e.g.
#user can modify any infomation under this annotation
#-------------------------------------------------
include(../../multi-link/add_base_manager.pri)
include(../../multi-link/multi-link/add_base_manager.pri)

View File

@ -50,7 +50,7 @@ MOBILITY =
#促使编译源代码qmake pri配置里面的QMAKE_XX_LINK命令就会执行
system("touch main.cpp")
include(../../multi-link/add_base_manager.pri)
include(../../multi-link/multi-link/add_base_manager.pri)
#这个的设置有特点,要先设置

View File

@ -43,7 +43,7 @@ system("touch main.cpp")
#if you link a library to your app, on android you must select the running kit to the app, not LibQQt e.g.
#user can modify any infomation under this annotation
#-------------------------------------------------
include(../../multi-link/add_base_manager.pri)
include(../../multi-link/multi-link/add_base_manager.pri)

View File

@ -44,7 +44,7 @@ system("touch main.cpp")
#if you link a library to your app, on android you must select the running kit to the app, not LibQQt e.g.
#user can modify any infomation under this annotation
#-------------------------------------------------
include(../../multi-link/add_base_manager.pri)
include(../../multi-link/multi-link/add_base_manager.pri)

1
multi-link Submodule

@ -0,0 +1 @@
Subproject commit bb84073350a5d5095397ce6c702a568f71ee1c8d

View File

@ -45,7 +45,7 @@
千等万等Multi-link技术终于现出原形了。
修复了发布QQt SDK无处安置的问题。
1. include(.../multi-link/add_base_manager.pri)
1. include(.../multi-link/multi-link/add_base_manager.pri)
- 这里是多链接技术一切的开始。
2. 提供函数 (这里只展示一部分)
- add_sdk() (lib工程用)

View File

@ -35,7 +35,7 @@ TEMPLATE = lib
#################################################################
#包含基础管理者
#################################################################
include ($${PWD}/../multi-link/add_base_manager.pri)
include ($${PWD}/../multi-link/multi-link/add_base_manager.pri)
#根据multi-link提供的动态编译 静态编译设定进行编译添加我自己的QQt的宏定义
contains(DEFINES, LIB_LIBRARY) {

View File

@ -33,7 +33,7 @@ HEADERS += \
FORMS += \
mainwindow.ui
include (../../multi-link/add_base_manager.pri)
include (../../multi-link/multi-link/add_base_manager.pri)
include (../../app-lib/add_custom_manager.pri)

View File

@ -50,7 +50,7 @@ unix {
system(touch qqtbasedlibtest.cpp)
#包含基础管理者
include (../../../multi-link/add_base_manager.pri)
include (../../../multi-link/multi-link/add_base_manager.pri)
#这个lib的头文件宏定义集中在这里这个是lib用app也用必要
include (lib_header.pri)

View File

@ -36,7 +36,7 @@ FORMS += \
#必须的否则POST LINK不启动
system(touch main.cpp)
include (../../../multi-link/add_base_manager.pri)
include (../../../multi-link/multi-link/add_base_manager.pri)
#这个的设置有特点,要先设置
add_version (1,0,0,0)

View File

@ -36,7 +36,7 @@ FORMS += \
mainwindow.ui
system(touch main.cpp)
include (../../multi-link/add_base_manager.pri)
include (../../multi-link/multi-link/add_base_manager.pri)

View File

@ -39,7 +39,7 @@ system(touch main.cpp)
#要添加library支持按照模板添加一个pri文件 使用add_dependent_manager(XXX)调用即可
#用add_custom_manager.pri保存这些链接函数即可拷贝到自己目录哦
#add_custom_manager也不想用的就加到自己pro文件里好了
include (../../multi-link/add_base_manager.pri)
include (../../multi-link/multi-link/add_base_manager.pri)
include (../../app-lib/add_custom_manager.pri)

View File

@ -31,7 +31,7 @@ HEADERS += mainwindow.h
FORMS += mainwindow.ui
system(touch main.cpp)
include (../../multi-link/add_base_manager.pri)
include (../../multi-link/multi-link/add_base_manager.pri)
#这个的设置有特点,要先设置
add_version (1,0,0,0)

View File

@ -31,7 +31,7 @@ HEADERS += mainwindow.h
FORMS += mainwindow.ui
system(touch main.cpp)
include (../../multi-link/add_base_manager.pri)
include (../../multi-link/multi-link/add_base_manager.pri)
#这个的设置有特点,要先设置
add_version (1,0,0,0)

View File

@ -1,6 +1,6 @@
TEMPLATE = subdirs
include (../../multi-link/add_base_manager.pri)
include (../../multi-link/multi-link/add_base_manager.pri)
SUBDIRS += \
QQtSubDirsApp1

View File

@ -34,7 +34,7 @@ FORMS += \
mainwindow.ui
system("touch mainwindow.cpp")
include(../../multi-link/add_base_manager.pri)
include(../../multi-link/multi-link/add_base_manager.pri)
#这个的设置有特点,要先设置

View File

@ -28,7 +28,7 @@ system("touch main.cpp")
#if you link a library to your app, on android you must select the running kit to the app, not LibQQt e.g.
#user can modify any infomation under this annotation
#-------------------------------------------------
include(../../multi-link/add_base_manager.pri)
include(../../multi-link/multi-link/add_base_manager.pri)

View File

@ -41,7 +41,7 @@ system("touch main.cpp")
#if you link a library to your app, on android you must select the running kit to the app, not LibQQt e.g.
#user can modify any infomation under this annotation
#-------------------------------------------------
include(../../multi-link/add_base_manager.pri)
include(../../multi-link/multi-link/add_base_manager.pri)

View File

@ -36,7 +36,7 @@ FORMS += \
CONFIG += mobility
MOBILITY =
include ($${PWD}/../../multi-link/add_base_manager.pri)
include ($${PWD}/../../multi-link/multi-link/add_base_manager.pri)
#这个的设置有特点,要先设置
add_version (1,0,0,0)

View File

@ -14,7 +14,7 @@ system("touch main.cpp")
#if you link a library to your app, on android you must select the running kit to the app, not LibQQt e.g.
#user can modify any infomation under this annotation
#-------------------------------------------------
include(../../multi-link/add_base_manager.pri)
include(../../multi-link/multi-link/add_base_manager.pri)

View File

@ -40,7 +40,7 @@ system("touch main.cpp")
#if you link a library to your app, on android you must select the running kit to the app, not LibQQt e.g.
#user can modify any infomation under this annotation
#-------------------------------------------------
include(../../multi-link/add_base_manager.pri)
include(../../multi-link/multi-link/add_base_manager.pri)

View File

@ -36,7 +36,7 @@ FORMS += \
#促使编译源代码qmake pri配置里面的QMAKE_XX_LINK命令就会执行
system("touch main.cpp")
include(../../multi-link/add_base_manager.pri)
include(../../multi-link/multi-link/add_base_manager.pri)
include(./app_custom_manager.pri)
contains(QSYS_PRIVATE, ANDROID||ANDROIDX86) {

View File

@ -27,7 +27,7 @@ system("touch main.cpp")
#if you link a library to your app, on android you must select the running kit to the app, not LibQQt e.g.
#user can modify any infomation under this annotation
#-------------------------------------------------
include(../../multi-link/add_base_manager.pri)
include(../../multi-link/multi-link/add_base_manager.pri)

View File

@ -38,7 +38,7 @@ MOBILITY =
system("touch main.cpp")
include(../../multi-link/add_base_manager.pri)
include(../../multi-link/multi-link/add_base_manager.pri)

View File

@ -40,7 +40,7 @@ CONFIG += mobility
MOBILITY =
system("touch main.cpp")
include(../../multi-link/add_base_manager.pri)
include(../../multi-link/multi-link/add_base_manager.pri)

View File

@ -36,7 +36,7 @@ FORMS += \
system("touch main.cpp")
include(../../multi-link/add_base_manager.pri)
include(../../multi-link/multi-link/add_base_manager.pri)
#这个的设置有特点,要先设置

View File

@ -47,7 +47,7 @@ system("touch main.cpp")
#if you link a library to your app, on android you must select the running kit to the app, not LibQQt e.g.
#user can modify any infomation under this annotation
#-------------------------------------------------
include(../../multi-link/add_base_manager.pri)
include(../../multi-link/multi-link/add_base_manager.pri)

View File

@ -37,7 +37,7 @@ system("touch main.cpp")
#if you link a library to your app, on android you must select the running kit to the app, not LibQQt e.g.
#user can modify any infomation under this annotation
#-------------------------------------------------
include(../../multi-link/add_base_manager.pri)
include(../../multi-link/multi-link/add_base_manager.pri)

View File

@ -37,7 +37,7 @@ CONFIG += mobility
MOBILITY =
system(touch widget.cpp)
include(../../multi-link/add_base_manager.pri)
include(../../multi-link/multi-link/add_base_manager.pri)
#这个的设置有特点,要先设置

View File

@ -20,7 +20,7 @@ HEADERS += $$PWD/qqtapp.h $$PWD/qqtwindow.h \
FORMS += $$PWD/qqtwindow.ui
include(../../multi-link/add_base_manager.pri)
include(../../multi-link/multi-link/add_base_manager.pri)
system(touch main.cpp)
# no use touch(main.cpp)

View File

@ -25,7 +25,7 @@ FORMS += $$PWD/qqtwindow.ui
############################################
#添加所有提供函数的pri 很有美感
############################################
include(../../multi-link/add_base_manager.pri)
include(../../multi-link/multi-link/add_base_manager.pri)
############################################
#对产品线的控制结构Multi-link下命令 开启产品线

View File

@ -34,7 +34,7 @@ FORMS += \
mainwindow.ui
system(touch main.cpp)
include (../../multi-link/add_base_manager.pri)
include (../../multi-link/multi-link/add_base_manager.pri)
#add version 调用时机 在lib里有个约束必须在add_sdk之前调用其他时候没有约束
add_version(1,0,0,0)

View File

@ -28,7 +28,7 @@ system("touch main.cpp")
#if you link a library to your app, on android you must select the running kit to the app, not LibQQt e.g.
#user can modify any infomation under this annotation
#-------------------------------------------------
include(../../multi-link/add_base_manager.pri)
include(../../multi-link/multi-link/add_base_manager.pri)

View File

@ -27,7 +27,7 @@ system("touch main.cpp")
#if you link a library to your app, on android you must select the running kit to the app, not LibQQt e.g.
#user can modify any infomation under this annotation
#-------------------------------------------------
include(../../multi-link/add_base_manager.pri)
include(../../multi-link/multi-link/add_base_manager.pri)

View File

@ -45,7 +45,7 @@ system("touch main.cpp")
#if you link a library to your app, on android you must select the running kit to the app, not LibQQt e.g.
#user can modify any infomation under this annotation
#-------------------------------------------------
include(../../multi-link/add_base_manager.pri)
include(../../multi-link/multi-link/add_base_manager.pri)

View File

@ -37,7 +37,7 @@ HEADERS += \
FORMS += \
tempwidget.ui
include (../../multi-link/add_base_manager.pri)
include (../../multi-link/multi-link/add_base_manager.pri)
#这个的设置有特点,要先设置
add_version (1,0,0,0)

View File

@ -47,7 +47,7 @@ system("touch main.cpp")
#-------------------------------------------------
#include manager
include(../../multi-link/add_base_manager.pri)
include(../../multi-link/multi-link/add_base_manager.pri)

View File

@ -39,7 +39,7 @@ MOBILITY =
#这句话很重要 启动拷贝很多东西
system (touch main.cpp)
include (../../multi-link/add_base_manager.pri)
include (../../multi-link/multi-link/add_base_manager.pri)
contains(QSYS_PRIVATE, Android|AndroidX86) {
CONFIG += mobility

View File

@ -26,7 +26,7 @@ APP_DEPLOY_ROOT = /Users/abel/Develop/d1-product
1. 按照文章所说更改Qt Creator的默认编译路径。只有这样才能实现多平台目标、中间目标不冲突。
2. 参照LibQQt/src/qqt_qkit.pri里的SYSNAME变量在Qt Creator首选项-设置构建和运行-构建套件Kit页面的每个kit的File System Name。请使用Qt Creator 3.5以上版本其被佩戴于Qt5.2.
3. 打开LibQQt工程根据qmake输出在用户配置目录/[.]qmake/app_configure.pri里面设置QQT_BUILD_ROOT QQT_SDK_ROOT APP_DEPLOY_ROOT三个路径变量
4. 仿照LibQQt的例程在用户工程.pro里include(.../LibQQt/multi-link/add_base_manager.pri)
4. 仿照LibQQt的例程在用户工程.pro里include(.../LibQQt/multi-link/multi-link/add_base_manager.pri)
- 如果需要跟随发布配置文件按照图里的设置APP_CONFIG_PWD
5. 在Qt Creator项目-kit-构建设置页面配置QKIT环境变量LibQQt也需要用户App需要可以build了。