The path for the Qt5 installation now needs to be set as a
authorjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 11 Oct 2013 11:25:40 +0000 (11:25 +0000)
committerjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 11 Oct 2013 11:25:40 +0000 (11:25 +0000)
windows environment variable.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@52540 f5534014-38df-0310-8fa8-9805f1628bb7

CMakeLists.txt
README.cmake

index 3b71b6b69cd69cffeeaaed7579f42e76a9e2c018..c0a9b3945a1295624c9f6516377187f0915a646f 100644 (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} )
index 7019938d9a605b7123842fdcfb1486527faffbb8..e98b92e46ee852d3b31c9bd7d9f83f0f44dc598c 100644 (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