Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.3
-
None
-
-
5a0849ed6b (qt/qtbase/dev) 5a0849ed6b (qt/tqtc-qtbase/dev) ad1a7e84a9 (qt/qtbase/6.3) ad1a7e84a9 (qt/tqtc-qtbase/6.3)
Description
Configuring qt5/dev on Windows results in lots of warnings when lookign for GLIB2:
CMake Warning (dev) at C:/Program Files/CMake/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:438 (message): The package name passed to `find_package_handle_standard_args` (GOBJECT) does not match the name of the calling package (GLIB2). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): qtbase/cmake/3rdparty/extra-cmake-modules/find-modules/FindGLIB2.cmake:119 (find_package_handle_standard_args) qtbase/cmake/QtFindPackageHelpers.cmake:130 (find_package) qtbase/src/corelib/configure.cmake:21 (qt_find_package) -- Could NOT find GOBJECT (missing: GOBJECT_LIBRARIES GOBJECT_INCLUDE_DIRS) qtbase/cmake/QtFeature.cmake:573 (include) qtbase/src/CMakeLists.txt:7 (qt_feature_evaluate_features) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at C:/Program Files/CMake/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:438 (message): The package name passed to `find_package_handle_standard_args` (GIO) does not match the name of the calling package (GLIB2). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): qtbase/cmake/3rdparty/extra-cmake-modules/find-modules/FindGLIB2.cmake:120 (find_package_handle_standard_args) qtbase/cmake/QtFindPackageHelpers.cmake:130 (find_package) qtbase/src/corelib/configure.cmake:21 (qt_find_package) qtbase/cmake/QtFeature.cmake:573 (include) qtbase/src/CMakeLists.txt:7 (qt_feature_evaluate_features) This warning is for project developers. Use -Wno-dev to suppress it
Attachments
For Gerrit Dashboard: QTBUG-97929 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
392141,7 | Handle glib optional components properly | dev | qt/qtbase | Status: MERGED | +2 | 0 |
393468,2 | Handle glib optional components properly | 6.3 | qt/qtbase | Status: MERGED | +2 | 0 |