Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
colorEagleStdio
qplanetosm
提交
e6d6f153
qplanetosm
项目概览
colorEagleStdio
/
qplanetosm
通知
118
Star
10
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
qplanetosm
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
e6d6f153
编写于
4月 05, 2022
作者:
D
dev@dev.com
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ActiveX Server Reg Ok in MSYS2
上级
35f1cdcf
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
27 addition
and
11 deletion
+27
-11
qtviewer_planetosm/CMakeLists.txt
qtviewer_planetosm/CMakeLists.txt
+27
-11
未找到文件。
qtviewer_planetosm/CMakeLists.txt
浏览文件 @
e6d6f153
...
...
@@ -126,7 +126,7 @@ target_link_libraries(qplanetosm_widget PRIVATE
#==========================ActiveX==========================
if
(
WIN32 AND
${
QTV_ACTIVEX
}
)
if
(
${
QT_VERSION_MAJOR
}
GREATER_EQUAL 6
)
qt6_add_axserver_library
(
axplanetosm SHARED
qt6_add_axserver_library
(
axplanetosm SHARED
NO_AX_SERVER_REGISTRATION
qtaxviewer_planetosm.def
qtaxviewer_planetosm.h
qtaxviewer_planetosm.cpp
...
...
@@ -135,16 +135,32 @@ if (WIN32 AND ${QTV_ACTIVEX})
${
PRJ_FORMS
}
${
PRJ_RESOURCES
}
)
else
()
add_library
(
axplanetosm SHARED
qtaxviewer_planetosm.def
qtaxviewer_planetosm.h
qtaxviewer_planetosm.cpp
${
PRJ_HEADERS
}
${
PRJ_SOURCES
}
${
PRJ_FORMS
}
${
PRJ_RESOURCES
}
)
add_custom_command
(
TARGET axplanetosm
POST_BUILD
COMMAND echo If you want to reg server, please set Qt BIN PATH first
COMMAND idc.exe \"$<TARGET_FILE:axplanetosm>\" /regserverperuser
#COMMAND regsvr32 \"$<TARGET_FILE:axplanetosm>\"
#COMMAND idc.exe \"$<TARGET_FILE:axplanetosm>\" /regserver
)
else
()
add_library
(
axplanetosm SHARED
qtaxviewer_planetosm.def
qtaxviewer_planetosm.h
qtaxviewer_planetosm.cpp
${
PRJ_HEADERS
}
${
PRJ_SOURCES
}
${
PRJ_FORMS
}
${
PRJ_RESOURCES
}
# C:\Qt\6.2.4\msvc2019_64\bin\idc.exe D:/projects/build-qtv.planet-Qt62vc-Release/bin/axplanetosm.dll /regserver""
)
add_custom_command
(
TARGET axplanetosm
POST_BUILD
COMMAND idc.exe \"$<TARGET_FILE:axplanetosm>\" /idl \"$<TARGET_FILE:axplanetosm>.idl\" -version 1.0
COMMAND midl.exe \"$<TARGET_FILE:axplanetosm>.idl\" /nologo /tlb \"$<TARGET_FILE:axplanetosm>.tlb\"
COMMAND idc.exe \"$<TARGET_FILE:axplanetosm>\" /tlb \"$<TARGET_FILE:axplanetosm>.tlb\"
COMMAND idc.exe \"$<TARGET_FILE:axplanetosm>\" /regserverperuser
#COMMAND idc.exe \"$<TARGET_FILE:axplanetosm>\" /regserver
)
endif
()
target_link_libraries
(
axplanetosm PRIVATE
Qt
${
QT_VERSION_MAJOR
}
::Widgets
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录