fix: build error on Windows#757
Conversation
|
Warning
详情 {
"export": {
"dtkwidget.cmake": {
"b": [
" set(CMAKE_SHARED_LINKER_FLAGS \"${CMAKE_SHARED_LINKER_FLAGS} -Wl,--export-all-symbols\")"
]
}
}
} |
|
Hi @kt286. Thanks for your PR. 😃 |
|
Hi @kt286. Thanks for your PR. I'm waiting for a linuxdeepin member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
TAG Bot New tag: 6.7.46 |
da4aab4 to
6ea79dd
Compare
|
Warning
详情 {
"export": {
"dtkwidget.cmake": {
"b": [
" set(CMAKE_SHARED_LINKER_FLAGS \"${CMAKE_SHARED_LINKER_FLAGS} -Wl,--export-all-symbols\")"
]
}
}
} |
Guard DTK-specific includes and classes with #ifdef Q_OS_LINUX,
using plain Qt6 equivalents (QApplication, QMainWindow) as fallbacks
for non-Linux platforms. dtk6widget pkg-config and install paths
wrapped in linux {} scope in the .pro file.
Pattern based on linuxdeepin/dtkwidget#757.
Guard DTK-specific includes and classes with #ifdef Q_OS_LINUX,
using plain Qt6 equivalents (QApplication, QMainWindow) as fallbacks
for non-Linux platforms. dtk6widget pkg-config and install paths
wrapped in linux {} scope in the .pro file.
Pattern based on linuxdeepin/dtkwidget#757.
6ea79dd to
abc7f6f
Compare
|
Warning
详情 {
"export": {
"dtkwidget.cmake": {
"b": [
" set(CMAKE_SHARED_LINKER_FLAGS \"${CMAKE_SHARED_LINKER_FLAGS} -Wl,--export-all-symbols\")"
]
}
}
} |
abc7f6f to
531d1b7
Compare
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: kt286 The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
1 similar comment
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: kt286 The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Warning
详情 {
"export": {
"dtkwidget.cmake": {
"b": [
" set(CMAKE_SHARED_LINKER_FLAGS \"${CMAKE_SHARED_LINKER_FLAGS} -Wl,--export-all-symbols\")"
]
}
}
} |
Guard Linux-only code (CUPS printing, X11 keyboard monitor, startup notification, XInput2 SVG rendering) behind #ifdef Q_OS_LINUX so they are excluded from the Windows build. Remove pkg_check_modules for Linux-only dependencies when not on Linux. Export all symbols on Windows/MinGW and add missing Qt::Svg dependency.
531d1b7 to
66a3da5
Compare
|
Warning
详情 {
"export": {
"dtkwidget.cmake": {
"b": [
" set(CMAKE_SHARED_LINKER_FLAGS \"${CMAKE_SHARED_LINKER_FLAGS} -Wl,--export-all-symbols\")"
]
}
}
} |
fix build error on Windows