The path for the Qt5 installation now needs to be set as a

windows environment variable.

svn path=/trunk/; revision=52540
This commit is contained in:
Jörg Mayer 2013-10-11 11:25:40 +00:00
parent f5fd46fe6d
commit f0e92efd24
2 changed files with 2 additions and 1 deletions

View File

@ -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} )

View File

@ -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