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:
parent
a562057230
commit
f9f68c56ff
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
[submodule "multi-link"]
|
||||||
|
path = multi-link
|
||||||
|
url = https://gitee.com/drabel/multi-link
|
8
QQt.pro
8
QQt.pro
@ -2,8 +2,8 @@
|
|||||||
##LibQQt主工程入口
|
##LibQQt主工程入口
|
||||||
##不能随便编译,初始设置要求比较严格,请按照规程设置完整。
|
##不能随便编译,初始设置要求比较严格,请按照规程设置完整。
|
||||||
##-----------------------------------------------------------------
|
##-----------------------------------------------------------------
|
||||||
#TEMPLATE = subdirs
|
TEMPLATE = subdirs
|
||||||
#CONFIG += ordered
|
CONFIG += ordered
|
||||||
|
|
||||||
#这几个选项,自行决定,QQt一次编译完成两个版本。
|
#这几个选项,自行决定,QQt一次编译完成两个版本。
|
||||||
#用户自行选择release还是debug版本使用即可。
|
#用户自行选择release还是debug版本使用即可。
|
||||||
@ -12,4 +12,6 @@ CONFIG += debug_and_release
|
|||||||
CONFIG += build_all
|
CONFIG += build_all
|
||||||
#CONFIG += silent
|
#CONFIG += silent
|
||||||
|
|
||||||
include(src/qqt.pri)
|
#注意,这里用include,保证了路径直接在QQt.pro下边
|
||||||
|
#如果用SUBDIRS+=,会在子目录src里!
|
||||||
|
include(src/qqt.pro)
|
||||||
|
@ -26,7 +26,7 @@ SUBDIRS =
|
|||||||
#QQt is build
|
#QQt is build
|
||||||
#-----------------------------------------------------------------
|
#-----------------------------------------------------------------
|
||||||
#第二种引用LibQQt的方式
|
#第二种引用LibQQt的方式
|
||||||
#方法:include(.../LibQQt/multi-link/add_base_manager.pri)
|
#方法:include(.../LibQQt/multi-link/multi-link/add_base_manager.pri)
|
||||||
#QQt提供QQtApplication帮助App管理Application句柄。
|
#QQt提供QQtApplication帮助App管理Application句柄。
|
||||||
#SUBDIRS += examples/qqtframe2
|
#SUBDIRS += examples/qqtframe2
|
||||||
#必看
|
#必看
|
||||||
|
@ -39,7 +39,7 @@ SUBDIRS += examples/animationframe
|
|||||||
#QQt is build
|
#QQt is build
|
||||||
#-----------------------------------------------------------------
|
#-----------------------------------------------------------------
|
||||||
#第二种引用LibQQt的方式
|
#第二种引用LibQQt的方式
|
||||||
#方法:include(.../LibQQt/multi-link/add_base_manager.pri)
|
#方法:include(.../LibQQt/multi-link/multi-link/add_base_manager.pri)
|
||||||
#QQt提供QQtApplication帮助App管理Application句柄。
|
#QQt提供QQtApplication帮助App管理Application句柄。
|
||||||
#
|
#
|
||||||
SUBDIRS += examples/qqtframe2
|
SUBDIRS += examples/qqtframe2
|
||||||
|
@ -61,4 +61,5 @@ SUBDIRS =
|
|||||||
#SUBDIRS += test/qqtffmpegplayer
|
#SUBDIRS += test/qqtffmpegplayer
|
||||||
|
|
||||||
#测试libQQt的链接。
|
#测试libQQt的链接。
|
||||||
#SUBDIRS += test/giftest
|
#
|
||||||
|
SUBDIRS += test/giftest
|
||||||
|
@ -72,7 +72,7 @@ github link: https://github.com/AbelTian/LibQQt
|
|||||||
- 化解C Plus Plus中没有字典类别的尴尬。
|
- 化解C Plus Plus中没有字典类别的尴尬。
|
||||||
3. 添加Multi Link工程管理pri组
|
3. 添加Multi Link工程管理pri组
|
||||||
- [Multi Link technology](multi-link/add_multi_link_technology.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。
|
- 基于qmake,用户可以轻易的链接LibQQt和添加自定义library。
|
||||||
- 工程版本变更可以使用add_version(1,0,0,0)实现了。
|
- 工程版本变更可以使用add_version(1,0,0,0)实现了。
|
||||||
4. 添加gif support Widgets
|
4. 添加gif support Widgets
|
||||||
|
@ -45,7 +45,7 @@ UI_DIR = obj/ui.h
|
|||||||
RCC_DIR = qrc
|
RCC_DIR = qrc
|
||||||
DESTDIR = bin
|
DESTDIR = bin
|
||||||
|
|
||||||
include(../../multi-link/add_base_manager.pri)
|
include(../../multi-link/multi-link/add_base_manager.pri)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ FORMS += \
|
|||||||
#这句话很重要 启动拷贝很多东西
|
#这句话很重要 启动拷贝很多东西
|
||||||
system (touch main.cpp)
|
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)
|
add_version (1,0,0,0)
|
||||||
|
@ -41,7 +41,7 @@ MOBILITY =
|
|||||||
|
|
||||||
#促使编译源代码,qmake pri配置里面的QMAKE_XX_LINK命令就会执行。
|
#促使编译源代码,qmake pri配置里面的QMAKE_XX_LINK命令就会执行。
|
||||||
system("touch main.cpp")
|
system("touch main.cpp")
|
||||||
include(../../multi-link/add_base_manager.pri)
|
include(../../multi-link/multi-link/add_base_manager.pri)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ FORMS += \
|
|||||||
|
|
||||||
#促使编译源代码,qmake pri配置里面的QMAKE_XX_LINK命令就会执行。
|
#促使编译源代码,qmake pri配置里面的QMAKE_XX_LINK命令就会执行。
|
||||||
system("touch main.cpp")
|
system("touch main.cpp")
|
||||||
include(../../multi-link/add_base_manager.pri)
|
include(../../multi-link/multi-link/add_base_manager.pri)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -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.
|
#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
|
#user can modify any infomation under this annotation
|
||||||
#-------------------------------------------------
|
#-------------------------------------------------
|
||||||
include(../../multi-link/add_base_manager.pri)
|
include(../../multi-link/multi-link/add_base_manager.pri)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ FORMS += \
|
|||||||
|
|
||||||
system("touch main.cpp")
|
system("touch main.cpp")
|
||||||
|
|
||||||
include(../../multi-link/add_base_manager.pri)
|
include(../../multi-link/multi-link/add_base_manager.pri)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ system("touch main.cpp")
|
|||||||
msvc{
|
msvc{
|
||||||
include($${PWD}\\..\\..\\src\\app_base_manager.pri)
|
include($${PWD}\\..\\..\\src\\app_base_manager.pri)
|
||||||
}else{
|
}else{
|
||||||
include(../../multi-link/add_base_manager.pri)
|
include(../../multi-link/multi-link/add_base_manager.pri)
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -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.
|
#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
|
#user can modify any infomation under this annotation
|
||||||
#-------------------------------------------------
|
#-------------------------------------------------
|
||||||
include(../../multi-link/add_base_manager.pri)
|
include(../../multi-link/multi-link/add_base_manager.pri)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@ system(touch main.cpp)
|
|||||||
############################################
|
############################################
|
||||||
#添加所有提供函数的pri 很有美感
|
#添加所有提供函数的pri 很有美感
|
||||||
############################################
|
############################################
|
||||||
include (../../multi-link/add_base_manager.pri)
|
include (../../multi-link/multi-link/add_base_manager.pri)
|
||||||
include (../../app-lib/add_library_OpenCV.pri)
|
include (../../app-lib/add_library_OpenCV.pri)
|
||||||
|
|
||||||
############################################
|
############################################
|
||||||
|
@ -35,7 +35,7 @@ HEADERS += \
|
|||||||
FORMS += \
|
FORMS += \
|
||||||
mainwindow.ui
|
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)
|
include (../../app-lib/add_library_OpenSceneGraph.pri)
|
||||||
|
|
||||||
system(touch mainwindow.cpp)
|
system(touch mainwindow.cpp)
|
||||||
|
@ -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.
|
#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
|
#user can modify any infomation under this annotation
|
||||||
#-------------------------------------------------
|
#-------------------------------------------------
|
||||||
include(../../multi-link/add_base_manager.pri)
|
include(../../multi-link/multi-link/add_base_manager.pri)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@ SOURCES += main.cpp
|
|||||||
system("touch main.cpp")
|
system("touch main.cpp")
|
||||||
#用户在console工程中,只要不使用LibQQt的图形Class,就可以在控制台程序中游刃有余的完成app功能了。
|
#用户在console工程中,只要不使用LibQQt的图形Class,就可以在控制台程序中游刃有余的完成app功能了。
|
||||||
#你用也没必要,而且不能用,控制台工程就是不能用widgets。不如在widgets工程当中隐藏窗口,然后在某个时机显示。
|
#你用也没必要,而且不能用,控制台工程就是不能用widgets。不如在widgets工程当中隐藏窗口,然后在某个时机显示。
|
||||||
include(../../multi-link/add_base_manager.pri)
|
include(../../multi-link/multi-link/add_base_manager.pri)
|
||||||
#add_base_manager默认开始app_bundle,再关闭一次。
|
#add_base_manager默认开始app_bundle,再关闭一次。
|
||||||
CONFIG -= app_bundle
|
CONFIG -= app_bundle
|
||||||
|
|
||||||
|
@ -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.
|
#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
|
#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
|
#user app may use these these settings prefertly
|
||||||
|
@ -38,7 +38,7 @@ MOBILITY =
|
|||||||
|
|
||||||
system(touch main.cpp)
|
system(touch main.cpp)
|
||||||
|
|
||||||
include(../../multi-link/add_base_manager.pri)
|
include(../../multi-link/multi-link/add_base_manager.pri)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -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.
|
#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
|
#user can modify any infomation under this annotation
|
||||||
#-------------------------------------------------
|
#-------------------------------------------------
|
||||||
include(../../multi-link/add_base_manager.pri)
|
include(../../multi-link/multi-link/add_base_manager.pri)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -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.
|
#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
|
#user can modify any infomation under this annotation
|
||||||
#-------------------------------------------------
|
#-------------------------------------------------
|
||||||
include(../../multi-link/add_base_manager.pri)
|
include(../../multi-link/multi-link/add_base_manager.pri)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -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.
|
#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
|
#user can modify any infomation under this annotation
|
||||||
#-------------------------------------------------
|
#-------------------------------------------------
|
||||||
include(../../multi-link/add_base_manager.pri)
|
include(../../multi-link/multi-link/add_base_manager.pri)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@ FORMS += \
|
|||||||
|
|
||||||
system(touch main.cpp)
|
system(touch main.cpp)
|
||||||
|
|
||||||
include(../../multi-link/add_base_manager.pri)
|
include(../../multi-link/multi-link/add_base_manager.pri)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -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.
|
#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
|
#user can modify any infomation under this annotation
|
||||||
#-------------------------------------------------
|
#-------------------------------------------------
|
||||||
include(../../multi-link/add_base_manager.pri)
|
include(../../multi-link/multi-link/add_base_manager.pri)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -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.
|
#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
|
#user can modify any infomation under this annotation
|
||||||
#-------------------------------------------------
|
#-------------------------------------------------
|
||||||
include(../../multi-link/add_base_manager.pri)
|
include(../../multi-link/multi-link/add_base_manager.pri)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -50,7 +50,7 @@ MOBILITY =
|
|||||||
|
|
||||||
#促使编译源代码,qmake pri配置里面的QMAKE_XX_LINK命令就会执行。
|
#促使编译源代码,qmake pri配置里面的QMAKE_XX_LINK命令就会执行。
|
||||||
system("touch main.cpp")
|
system("touch main.cpp")
|
||||||
include(../../multi-link/add_base_manager.pri)
|
include(../../multi-link/multi-link/add_base_manager.pri)
|
||||||
|
|
||||||
|
|
||||||
#这个的设置有特点,要先设置
|
#这个的设置有特点,要先设置
|
||||||
|
@ -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.
|
#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
|
#user can modify any infomation under this annotation
|
||||||
#-------------------------------------------------
|
#-------------------------------------------------
|
||||||
include(../../multi-link/add_base_manager.pri)
|
include(../../multi-link/multi-link/add_base_manager.pri)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -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.
|
#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
|
#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
1
multi-link
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit bb84073350a5d5095397ce6c702a568f71ee1c8d
|
@ -45,7 +45,7 @@
|
|||||||
千等万等,Multi-link技术终于现出原形了。
|
千等万等,Multi-link技术终于现出原形了。
|
||||||
修复了发布QQt SDK无处安置的问题。
|
修复了发布QQt SDK无处安置的问题。
|
||||||
|
|
||||||
1. include(.../multi-link/add_base_manager.pri)
|
1. include(.../multi-link/multi-link/add_base_manager.pri)
|
||||||
- 这里是多链接技术一切的开始。
|
- 这里是多链接技术一切的开始。
|
||||||
2. 提供函数 (这里只展示一部分)
|
2. 提供函数 (这里只展示一部分)
|
||||||
- add_sdk() (lib工程用)
|
- add_sdk() (lib工程用)
|
||||||
|
@ -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的宏定义。
|
#根据multi-link提供的动态编译 静态编译设定进行编译,添加我自己的QQt的宏定义。
|
||||||
contains(DEFINES, LIB_LIBRARY) {
|
contains(DEFINES, LIB_LIBRARY) {
|
@ -33,7 +33,7 @@ HEADERS += \
|
|||||||
FORMS += \
|
FORMS += \
|
||||||
mainwindow.ui
|
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)
|
include (../../app-lib/add_custom_manager.pri)
|
||||||
|
|
||||||
|
@ -50,7 +50,7 @@ unix {
|
|||||||
system(touch qqtbasedlibtest.cpp)
|
system(touch qqtbasedlibtest.cpp)
|
||||||
|
|
||||||
#包含基础管理者
|
#包含基础管理者
|
||||||
include (../../../multi-link/add_base_manager.pri)
|
include (../../../multi-link/multi-link/add_base_manager.pri)
|
||||||
|
|
||||||
#这个lib的头文件、宏定义,集中在这里,这个是lib用app也用。必要
|
#这个lib的头文件、宏定义,集中在这里,这个是lib用app也用。必要
|
||||||
include (lib_header.pri)
|
include (lib_header.pri)
|
||||||
|
@ -36,7 +36,7 @@ FORMS += \
|
|||||||
#必须的,否则POST LINK不启动
|
#必须的,否则POST LINK不启动
|
||||||
system(touch main.cpp)
|
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)
|
add_version (1,0,0,0)
|
||||||
|
@ -36,7 +36,7 @@ FORMS += \
|
|||||||
mainwindow.ui
|
mainwindow.ui
|
||||||
|
|
||||||
system(touch main.cpp)
|
system(touch main.cpp)
|
||||||
include (../../multi-link/add_base_manager.pri)
|
include (../../multi-link/multi-link/add_base_manager.pri)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@ system(touch main.cpp)
|
|||||||
#要添加library支持,按照模板添加一个pri文件, 使用add_dependent_manager(XXX)调用即可。
|
#要添加library支持,按照模板添加一个pri文件, 使用add_dependent_manager(XXX)调用即可。
|
||||||
#用add_custom_manager.pri保存这些链接函数即可,拷贝到自己目录哦。
|
#用add_custom_manager.pri保存这些链接函数即可,拷贝到自己目录哦。
|
||||||
#add_custom_manager也不想用的,就加到自己pro文件里好了。
|
#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)
|
include (../../app-lib/add_custom_manager.pri)
|
||||||
|
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@ HEADERS += mainwindow.h
|
|||||||
FORMS += mainwindow.ui
|
FORMS += mainwindow.ui
|
||||||
|
|
||||||
system(touch main.cpp)
|
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)
|
add_version (1,0,0,0)
|
||||||
|
@ -31,7 +31,7 @@ HEADERS += mainwindow.h
|
|||||||
FORMS += mainwindow.ui
|
FORMS += mainwindow.ui
|
||||||
|
|
||||||
system(touch main.cpp)
|
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)
|
add_version (1,0,0,0)
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
TEMPLATE = subdirs
|
TEMPLATE = subdirs
|
||||||
|
|
||||||
include (../../multi-link/add_base_manager.pri)
|
include (../../multi-link/multi-link/add_base_manager.pri)
|
||||||
|
|
||||||
SUBDIRS += \
|
SUBDIRS += \
|
||||||
QQtSubDirsApp1
|
QQtSubDirsApp1
|
||||||
|
@ -34,7 +34,7 @@ FORMS += \
|
|||||||
mainwindow.ui
|
mainwindow.ui
|
||||||
|
|
||||||
system("touch mainwindow.cpp")
|
system("touch mainwindow.cpp")
|
||||||
include(../../multi-link/add_base_manager.pri)
|
include(../../multi-link/multi-link/add_base_manager.pri)
|
||||||
|
|
||||||
|
|
||||||
#这个的设置有特点,要先设置
|
#这个的设置有特点,要先设置
|
||||||
|
@ -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.
|
#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
|
#user can modify any infomation under this annotation
|
||||||
#-------------------------------------------------
|
#-------------------------------------------------
|
||||||
include(../../multi-link/add_base_manager.pri)
|
include(../../multi-link/multi-link/add_base_manager.pri)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -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.
|
#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
|
#user can modify any infomation under this annotation
|
||||||
#-------------------------------------------------
|
#-------------------------------------------------
|
||||||
include(../../multi-link/add_base_manager.pri)
|
include(../../multi-link/multi-link/add_base_manager.pri)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ FORMS += \
|
|||||||
CONFIG += mobility
|
CONFIG += mobility
|
||||||
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)
|
add_version (1,0,0,0)
|
||||||
|
|
||||||
|
@ -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.
|
#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
|
#user can modify any infomation under this annotation
|
||||||
#-------------------------------------------------
|
#-------------------------------------------------
|
||||||
include(../../multi-link/add_base_manager.pri)
|
include(../../multi-link/multi-link/add_base_manager.pri)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -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.
|
#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
|
#user can modify any infomation under this annotation
|
||||||
#-------------------------------------------------
|
#-------------------------------------------------
|
||||||
include(../../multi-link/add_base_manager.pri)
|
include(../../multi-link/multi-link/add_base_manager.pri)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ FORMS += \
|
|||||||
|
|
||||||
#促使编译源代码,qmake pri配置里面的QMAKE_XX_LINK命令就会执行。
|
#促使编译源代码,qmake pri配置里面的QMAKE_XX_LINK命令就会执行。
|
||||||
system("touch main.cpp")
|
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)
|
include(./app_custom_manager.pri)
|
||||||
|
|
||||||
contains(QSYS_PRIVATE, ANDROID||ANDROIDX86) {
|
contains(QSYS_PRIVATE, ANDROID||ANDROIDX86) {
|
||||||
|
@ -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.
|
#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
|
#user can modify any infomation under this annotation
|
||||||
#-------------------------------------------------
|
#-------------------------------------------------
|
||||||
include(../../multi-link/add_base_manager.pri)
|
include(../../multi-link/multi-link/add_base_manager.pri)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ MOBILITY =
|
|||||||
|
|
||||||
system("touch main.cpp")
|
system("touch main.cpp")
|
||||||
|
|
||||||
include(../../multi-link/add_base_manager.pri)
|
include(../../multi-link/multi-link/add_base_manager.pri)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@ CONFIG += mobility
|
|||||||
MOBILITY =
|
MOBILITY =
|
||||||
|
|
||||||
system("touch main.cpp")
|
system("touch main.cpp")
|
||||||
include(../../multi-link/add_base_manager.pri)
|
include(../../multi-link/multi-link/add_base_manager.pri)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ FORMS += \
|
|||||||
|
|
||||||
system("touch main.cpp")
|
system("touch main.cpp")
|
||||||
|
|
||||||
include(../../multi-link/add_base_manager.pri)
|
include(../../multi-link/multi-link/add_base_manager.pri)
|
||||||
|
|
||||||
|
|
||||||
#这个的设置有特点,要先设置
|
#这个的设置有特点,要先设置
|
||||||
|
@ -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.
|
#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
|
#user can modify any infomation under this annotation
|
||||||
#-------------------------------------------------
|
#-------------------------------------------------
|
||||||
include(../../multi-link/add_base_manager.pri)
|
include(../../multi-link/multi-link/add_base_manager.pri)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -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.
|
#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
|
#user can modify any infomation under this annotation
|
||||||
#-------------------------------------------------
|
#-------------------------------------------------
|
||||||
include(../../multi-link/add_base_manager.pri)
|
include(../../multi-link/multi-link/add_base_manager.pri)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@ CONFIG += mobility
|
|||||||
MOBILITY =
|
MOBILITY =
|
||||||
|
|
||||||
system(touch widget.cpp)
|
system(touch widget.cpp)
|
||||||
include(../../multi-link/add_base_manager.pri)
|
include(../../multi-link/multi-link/add_base_manager.pri)
|
||||||
|
|
||||||
|
|
||||||
#这个的设置有特点,要先设置
|
#这个的设置有特点,要先设置
|
||||||
|
@ -20,7 +20,7 @@ HEADERS += $$PWD/qqtapp.h $$PWD/qqtwindow.h \
|
|||||||
|
|
||||||
FORMS += $$PWD/qqtwindow.ui
|
FORMS += $$PWD/qqtwindow.ui
|
||||||
|
|
||||||
include(../../multi-link/add_base_manager.pri)
|
include(../../multi-link/multi-link/add_base_manager.pri)
|
||||||
|
|
||||||
system(touch main.cpp)
|
system(touch main.cpp)
|
||||||
# no use touch(main.cpp)
|
# no use touch(main.cpp)
|
||||||
|
@ -25,7 +25,7 @@ FORMS += $$PWD/qqtwindow.ui
|
|||||||
############################################
|
############################################
|
||||||
#添加所有提供函数的pri 很有美感
|
#添加所有提供函数的pri 很有美感
|
||||||
############################################
|
############################################
|
||||||
include(../../multi-link/add_base_manager.pri)
|
include(../../multi-link/multi-link/add_base_manager.pri)
|
||||||
|
|
||||||
############################################
|
############################################
|
||||||
#对产品线的控制结构Multi-link下命令 开启产品线
|
#对产品线的控制结构Multi-link下命令 开启产品线
|
||||||
|
@ -34,7 +34,7 @@ FORMS += \
|
|||||||
mainwindow.ui
|
mainwindow.ui
|
||||||
|
|
||||||
system(touch main.cpp)
|
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 调用时机 在lib里有个约束,必须在add_sdk之前调用,其他时候没有约束。
|
||||||
add_version(1,0,0,0)
|
add_version(1,0,0,0)
|
||||||
|
@ -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.
|
#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
|
#user can modify any infomation under this annotation
|
||||||
#-------------------------------------------------
|
#-------------------------------------------------
|
||||||
include(../../multi-link/add_base_manager.pri)
|
include(../../multi-link/multi-link/add_base_manager.pri)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -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.
|
#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
|
#user can modify any infomation under this annotation
|
||||||
#-------------------------------------------------
|
#-------------------------------------------------
|
||||||
include(../../multi-link/add_base_manager.pri)
|
include(../../multi-link/multi-link/add_base_manager.pri)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -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.
|
#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
|
#user can modify any infomation under this annotation
|
||||||
#-------------------------------------------------
|
#-------------------------------------------------
|
||||||
include(../../multi-link/add_base_manager.pri)
|
include(../../multi-link/multi-link/add_base_manager.pri)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@ HEADERS += \
|
|||||||
FORMS += \
|
FORMS += \
|
||||||
tempwidget.ui
|
tempwidget.ui
|
||||||
|
|
||||||
include (../../multi-link/add_base_manager.pri)
|
include (../../multi-link/multi-link/add_base_manager.pri)
|
||||||
|
|
||||||
#这个的设置有特点,要先设置
|
#这个的设置有特点,要先设置
|
||||||
add_version (1,0,0,0)
|
add_version (1,0,0,0)
|
||||||
|
@ -47,7 +47,7 @@ system("touch main.cpp")
|
|||||||
#-------------------------------------------------
|
#-------------------------------------------------
|
||||||
|
|
||||||
#include manager
|
#include manager
|
||||||
include(../../multi-link/add_base_manager.pri)
|
include(../../multi-link/multi-link/add_base_manager.pri)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@ MOBILITY =
|
|||||||
#这句话很重要 启动拷贝很多东西
|
#这句话很重要 启动拷贝很多东西
|
||||||
system (touch main.cpp)
|
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) {
|
contains(QSYS_PRIVATE, Android|AndroidX86) {
|
||||||
CONFIG += mobility
|
CONFIG += mobility
|
||||||
|
2
usage.md
2
usage.md
@ -26,7 +26,7 @@ APP_DEPLOY_ROOT = /Users/abel/Develop/d1-product
|
|||||||
1. 按照文章所说,更改Qt Creator的默认编译路径。只有这样,才能实现多平台目标、中间目标不冲突。
|
1. 按照文章所说,更改Qt Creator的默认编译路径。只有这样,才能实现多平台目标、中间目标不冲突。
|
||||||
2. 参照LibQQt/src/qqt_qkit.pri里的SYSNAME变量,在Qt Creator首选项-设置构建和运行-构建套件Kit页面的每个kit的File System Name。(请使用Qt Creator 3.5以上版本,其被佩戴于Qt5.2.)
|
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三个路径变量
|
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
|
- 如果需要跟随发布配置文件,按照图里的设置APP_CONFIG_PWD
|
||||||
5. 在Qt Creator项目-kit-构建设置页面,配置QKIT环境变量(LibQQt也需要,用户App需要),可以build了。
|
5. 在Qt Creator项目-kit-构建设置页面,配置QKIT环境变量(LibQQt也需要,用户App需要),可以build了。
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user