[Cmake-commits] CMake branch, next, updated. v3.7.0-rc2-882-gc7d27ed

Brad King brad.king at kitware.com
Wed Nov 2 08:51:32 EDT 2016


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".

The branch, next has been updated
       via  c7d27ed8ffa6d486b0e91654c1a6b14de73ab673 (commit)
       via  13bc31aab5c51667369acce3a5ca9d1df57a1611 (commit)
      from  66b673c375019df62a1bbbd1a4e8c068fbae9449 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=c7d27ed8ffa6d486b0e91654c1a6b14de73ab673
commit c7d27ed8ffa6d486b0e91654c1a6b14de73ab673
Merge: 66b673c 13bc31a
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Wed Nov 2 08:51:32 2016 -0400
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Wed Nov 2 08:51:32 2016 -0400

    Merge topic 'doc-cmake-qt-missing-dbus' into next
    
    13bc31aa Help: Update example Qt 5 find_package call to add missing component


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=13bc31aab5c51667369acce3a5ca9d1df57a1611
commit 13bc31aab5c51667369acce3a5ca9d1df57a1611
Author:     Thiago M. de C. Marques <thiago_manhente at live.com>
AuthorDate: Tue Nov 1 17:04:13 2016 -0400
Commit:     Brad King <brad.king at kitware.com>
CommitDate: Wed Nov 2 08:50:03 2016 -0400

    Help: Update example Qt 5 find_package call to add missing component
    
    Running CMake on it caused the following error:
    
        error: Target "publisher" links to target "Qt5::DBus" but the target
        was not found.  Perhaps a find_package() call is missing for an
        IMPORTED target, or an ALIAS target is missing?
    
    Add the missing DBus component.

diff --git a/Help/manual/cmake-qt.7.rst b/Help/manual/cmake-qt.7.rst
index bd0a984..7827065 100644
--- a/Help/manual/cmake-qt.7.rst
+++ b/Help/manual/cmake-qt.7.rst
@@ -29,7 +29,7 @@ Qt 4 and Qt 5 may be used together in the same
   set(CMAKE_AUTOMOC ON)
   set(CMAKE_INCLUDE_CURRENT_DIR ON)
 
-  find_package(Qt5 COMPONENTS Widgets REQUIRED)
+  find_package(Qt5 COMPONENTS Widgets DBus REQUIRED)
   add_executable(publisher publisher.cpp)
   target_link_libraries(publisher Qt5::Widgets Qt5::DBus)
 

-----------------------------------------------------------------------

Summary of changes:
 Help/manual/cmake-qt.7.rst |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list