Skip to content

Commit

Permalink
Hack to allow access to QT::Gui private
Browse files Browse the repository at this point in the history
  • Loading branch information
Aurélien Labrosse committed Oct 1, 2018
1 parent da411c4 commit 75f090c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 75f090c

Please sign in to comment.