-
Notifications
You must be signed in to change notification settings - Fork 6.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
104 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -80,13 +80,17 @@ | ||
set(GZ_TOOLS_VER 2) | ||
|
||
#-------------------------------------- | ||
# Find QT | ||
+set(qt_pkgconfig "Qt5Core Qt5Quick Qt5QuickControls2 Qt5Widgets") | ||
+if (WIN32) | ||
+set(qt_pkgconfig "") | ||
+endif() | ||
gz_find_package (Qt5 | ||
COMPONENTS | ||
Core | ||
Quick | ||
QuickControls2 | ||
Widgets | ||
REQUIRED | ||
- PKGCONFIG "Qt5Core Qt5Quick Qt5QuickControls2 Qt5Widgets" | ||
+ PKGCONFIG ${qt_pkgconfig} | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
set(PACKAGE_NAME gui) | ||
|
||
ignition_modular_library( | ||
NAME ${PACKAGE_NAME} | ||
REF ${PORT}_${VERSION} | ||
VERSION ${VERSION} | ||
SHA512 29f37a31bbf90dd35f37e80053c1aff9fb404b7a09c8c10e640da505cc6261387e6ce77e3bf379a911e6131c684f866cf1ef8d83777112b3c7f148b1f95cc72f | ||
OPTIONS | ||
PATCHES | ||
dependencies.patch | ||
) | ||
|
||
if(VCPKG_TARGET_IS_WINDOWS) | ||
file(GLOB plugins "${CURRENT_PACKAGES_DIR}/lib/gz-gui-7/plugins/*.dll") | ||
if (NOT plugins STREQUAL "") | ||
file(COPY ${plugins} DESTINATION "${CURRENT_PACKAGES_DIR}/engine-plugins/") | ||
file(REMOVE ${plugins}) | ||
endif() | ||
|
||
file(GLOB plugins_debug "${CURRENT_PACKAGES_DIR}/debug/lib/gz-gui-7/plugins/*.dll") | ||
if (NOT plugins_debug STREQUAL "") | ||
file(COPY ${plugins_debug} DESTINATION "${CURRENT_PACKAGES_DIR}/debug/engine-plugins/") | ||
file(REMOVE ${plugins_debug}) | ||
endif() | ||
|
||
# Lacking pc files for Qt | ||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib/pkgconfig" "${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig") | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"name": "gz-gui7", | ||
"version": "7.2.1", | ||
"description": "Gazebo GUI builds on top of Qt to provide widgets which are useful when developing robotics applications, such as a 3D view, plots, dashboard, etc, and can be used together in a convenient unified interface.", | ||
"homepage": "https://gazebosim.org/libs/gui", | ||
"license": "Apache-2.0", | ||
"dependencies": [ | ||
"gz-cmake3", | ||
"gz-common5", | ||
"gz-math7", | ||
"gz-msgs9", | ||
"gz-plugin2", | ||
"gz-rendering7", | ||
"gz-transport12", | ||
"gz-utils2", | ||
{ | ||
"name": "ignition-modularscripts", | ||
"host": true | ||
}, | ||
"protobuf", | ||
{ | ||
"name": "qt5-base", | ||
"default-features": false | ||
}, | ||
{ | ||
"name": "qt5-quickcontrols2", | ||
"default-features": false | ||
}, | ||
"sdformat13", | ||
"tinyxml2" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"versions": [ | ||
{ | ||
"git-tree": "3fc2d2bd35c8d9c5dad86739f113b952cb65913a", | ||
"version": "7.2.1", | ||
"port-version": 0 | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters