diff options
author | Jörg Mayer <jmayer@loplof.de> | 2013-10-11 11:25:40 +0000 |
---|---|---|
committer | Jörg Mayer <jmayer@loplof.de> | 2013-10-11 11:25:40 +0000 |
commit | f0e92efd2483a82d6f9a4b3dbab5605360d2d9fc (patch) | |
tree | 547560771f669a5320e17cf91c304c208ad24739 | |
parent | f5fd46fe6d5ca4635c3423be9be30e51ab0427a5 (diff) |
The path for the Qt5 installation now needs to be set as a
windows environment variable.
svn path=/trunk/; revision=52540
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | README.cmake | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 3b71b6b69c..c0a9b3945a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -374,7 +374,7 @@ if(BUILD_qtshark) # Untested, may not work if CMAKE_PREFIX_PATH gets overwritten # somewhere. The if WIN32 in this place is annoying as well. if( WIN32 ) - set( QT5_BASE_PATH "C:\\Qt\\Qt5.1.1\\5.1.1" ) + set( QT5_BASE_PATH "$ENV{QT5_BASE_PATH}" ) set( CMAKE_PREFIX_PATH "${QT5_BASE_PATH}\\msvc2010" ) set( QT5_DLL_PATH "${CMAKE_PREFIX_PATH}/bin/dummy" ) set( WS_ALL_LIBS ${WS_ALL_LIBS} ${QT5_DLL_PATH} ) diff --git a/README.cmake b/README.cmake index 7019938d9a..e98b92e46e 100644 --- a/README.cmake +++ b/README.cmake @@ -63,6 +63,7 @@ How to do out of tree build (Win32/64): 1a) Set WIRESHARK_BASE_DIR=c:\wireshark (the parent directory of the library directory). 1b) set WIRESHARK_TARGET_PLATFORM=win32 (or win64) +1c) set QT5_BASE_DIR=c:\Qt\Qt5.1.1\5.1.1 (or whatever) 2) Install cmake 3) mkdir c:\wireshark\build 4) cd c:\wireshark\build |