From 75f090c40c527412c8b1ab63cbd96c630573fa86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Labrosse?= Date: Mon, 1 Oct 2018 14:35:44 +0200 Subject: [PATCH] Hack to allow access to QT::Gui private --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index d8da33b..3986688 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,6 +20,10 @@ find_package(Qt5Core CONFIG REQUIRED) find_package(Qt5Gui CONFIG REQUIRED) find_package(Qt5Test CONFIG REQUIRED) + +# hack to make private part of QtGui available +set(Qt5Gui_PRIVATE_INCLUDE_DIRS "${Qt5Gui_INCLUDE_DIRS}/${Qt5Gui_VERSION}/QtGui") + include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/src/xlsx/ ${Qt5Core_INCLUDE_DIRS}