Changeset 60723 in vbox
- Timestamp:
- Apr 27, 2016 4:00:32 PM (8 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
-
configure.vbs (modified) (10 diffs)
-
src/VBox/Installer/win/Makefile.kmk (modified) (2 diffs)
-
src/VBox/Installer/win/VBoxMergeApp.wxi (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure.vbs
r59479 r60723 10 10 11 11 ' 12 ' Copyright (C) 2006-201 2Oracle Corporation12 ' Copyright (C) 2006-2016 Oracle Corporation 13 13 ' 14 14 ' This file is part of VirtualBox Open Source Edition (OSE), as … … 2022 2022 2023 2023 '' 2024 ' Checks for any Qt4 binaries.2025 sub CheckForQt 4(strOptQt4)2024 ' Checks for any Qt4/5 binaries. 2025 sub CheckForQt(strOptQt4, strOptQt5) 2026 2026 dim strPathQt4 2027 2027 … … 2047 2047 ' Display the result. 2048 2048 if strPathQt4 = "" then 2049 CfgPrint "VBOX_WITH_QTGUI="2050 2049 PrintResultMsg "Qt4", "not found" 2051 2050 else 2051 PrintResult "Qt4", strPathQt4 2052 end if 2053 2054 PrintHdr "Qt5" 2055 2056 ' 2057 ' Try to find the Qt5 installation (user specified path with --with-qt5) 2058 ' 2059 strPathQt5 = "" 2060 2061 LogPrint "Checking for user specified path of Qt5 ... " 2062 if (strPathQt5 = "") And (strOptQt5 <> "") then 2063 strOptQt5 = UnixSlashes(strOptQt5) 2064 if CheckForQt5Sub(strOptQt5) then strPathQt5 = strOptQt5 2065 end if 2066 2067 ' Check the dev tools 2068 if (strPathQt5 = "") Then 2069 strPathQt5 = g_strPathDev & "/win." & g_strTargetArch & "/qt/v5.5.1-r138" 2070 if CheckForQt5Sub(strPathQt5) = False then strPathQt5 = "" 2071 end if 2072 2073 ' Display the result. 2074 if strPathQt5 = "" then 2075 PrintResultMsg "Qt5", "not found" 2076 else 2077 PrintResult "Qt5", strPathQt5 2078 end if 2079 2080 if strPathQt5 <> "" then 2081 CfgPrint "PATH_SDK_QT5 := " & strPathQt5 2082 CfgPrint "PATH_TOOL_QT5 := $(PATH_SDK_QT5)" 2083 CfgPrint "VBOX_PATH_QT := $(PATH_SDK_QT5)" 2084 if strPathQt4 <> "" then 2085 MsgWarning "Have working path to both Qt4 ad Qt5, ignoring Qt4." 2086 end if 2087 elseif strPathQt4 <> "" then 2052 2088 CfgPrint "PATH_SDK_QT4 := " & strPathQt4 2053 2089 CfgPrint "PATH_TOOL_QT4 := $(PATH_SDK_QT4)" 2054 2090 CfgPrint "VBOX_PATH_QT := $(PATH_SDK_QT4)" 2055 PrintResult "Qt4 ", strPathQt4 2056 end if 2057 end sub 2058 2059 2060 '' 2061 ' Checks if the specified path points to an usable Qt library. 2091 end if 2092 if (strPathQt4 = "") And (strPathQt5 = "") then 2093 CfgPrint "VBOX_WITH_QTGUI :=" 2094 end if 2095 if strPathQt5 = "" then 2096 CfgPrint "VBOX_WITH_QTGUI_V5 :=" 2097 end if 2098 end sub 2099 2100 2101 '' 2102 ' Checks if the specified path points to an usable Qt4 library. 2062 2103 function CheckForQt4Sub(strPathQt4) 2063 2104 … … 2078 2119 then 2079 2120 CheckForQt4Sub = True 2121 end if 2122 2123 end function 2124 2125 2126 '' 2127 ' Checks if the specified path points to an usable Qt5 library. 2128 function CheckForQt5Sub(strPathQt5) 2129 2130 CheckForQt5Sub = False 2131 LogPrint "trying: strPathQt5=" & strPathQt5 2132 2133 if LogFileExists(strPathQt5, "bin/moc.exe") _ 2134 And LogFileExists(strPathQt5, "bin/uic.exe") _ 2135 And LogFileExists(strPathQt5, "include/QtWidgets/qwidget.h") _ 2136 And LogFileExists(strPathQt5, "include/QtWidgets/QApplication") _ 2137 And LogFileExists(strPathQt5, "include/QtGui/QImage") _ 2138 And LogFileExists(strPathQt5, "include/QtNetwork/QHostAddress") _ 2139 And ( LogFileExists(strPathQt5, "lib/Qt5Core.lib") _ 2140 Or LogFileExists(strPathQt5, "lib/Qt5CoreVBox.lib")) _ 2141 And ( LogFileExists(strPathQt5, "lib/Qt5Network.lib") _ 2142 Or LogFileExists(strPathQt5, "lib/Qt5NetworkVBox.lib")) _ 2143 then 2144 CheckForQt5Sub = True 2080 2145 end if 2081 2146 … … 2137 2202 Print "Locations:" 2138 2203 Print " --with-DDK=PATH " 2139 Print " --with-DXSDK=PATH "2140 2204 Print " --with-kBuild=PATH " 2141 2205 Print " --with-libSDL=PATH " … … 2143 2207 Print " --with-MinGW-w64=PATH " 2144 2208 Print " --with-Qt4=PATH " 2209 Print " --with-Qt5=PATH " 2145 2210 Print " --with-SDK=PATH " 2146 2211 Print " --with-VC=PATH " … … 2179 2244 strOptMinGWw64 = "" 2180 2245 strOptQt4 = "" 2246 strOptQt5 = "" 2181 2247 strOptSDK = "" 2182 2248 strOptVC = "" … … 2211 2277 strOptDDK = strPath 2212 2278 case "--with-dxsdk" 2213 MsgWarning "Ignor nig --with-dxsdk (the DirectX SDK is no longer required)."2279 MsgWarning "Ignoring --with-dxsdk (the DirectX SDK is no longer required)." 2214 2280 case "--with-kbuild" 2215 2281 strOptkBuild = strPath … … 2222 2288 case "--with-qt4" 2223 2289 strOptQt4 = strPath 2290 case "--with-qt5" 2291 strOptQt5 = strPath 2224 2292 case "--with-sdk" 2225 2293 strOptSDK = strPath … … 2315 2383 CheckForSsl strOptSsl 2316 2384 CheckForCurl strOptCurl 2317 CheckForQt 4 strOptQt42385 CheckForQt strOptQt4, strOptQt5 2318 2386 if (strOptPython <> "") then 2319 2387 CheckForPython strOptPython -
trunk/src/VBox/Installer/win/Makefile.kmk
r59924 r60723 5 5 6 6 # 7 # Copyright (C) 2006-201 5Oracle Corporation7 # Copyright (C) 2006-2016 Oracle Corporation 8 8 # 9 9 # This file is part of VirtualBox Open Source Edition (OSE), as … … 529 529 -E 'VBOX_WIN_INST_MERGE_$(toupper $(module))=$(VBOX_WIN_INST_OUT_DIR)/VBoxMerge$(module)_$(lang).msm'),) \ 530 530 -E 'VBOX_WINDOWS_ICON_FILE=$(subst /,\,$(VBOX_WINDOWS_ICON_FILE))' \ 531 -E 'VBOX_QT_INFIX=$(VBOX_QT_INFIX)' \ 531 532 -E 'VBOX_WITH_32_ON_64_MAIN_API=$(if $(VBOX_WITH_32_ON_64_MAIN_API),yes,no)' \ 532 533 -E 'VBOX_WITH_ADDITIONS_PACKING=$(if $(VBOX_WITH_ADDITIONS_PACKING),yes,no)' \ -
trunk/src/VBox/Installer/win/VBoxMergeApp.wxi
r59924 r60723 2 2 VirtualBox Windows Installation Script (WiX) 3 3 4 Copyright (C) 2006-201 5Oracle Corporation4 Copyright (C) 2006-2016 Oracle Corporation 5 5 6 6 This file is part of VirtualBox Open Source Edition (OSE), as … … 15 15 <Include xmlns="http://schemas.microsoft.com/wix/2006/wi" 16 16 xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension"> 17 18 <?ifdef env.VBOX_QT_INFIX ?> 19 <?define VBOX_QT_INFIX="$(env.VBOX_QT_INFIX)" ?> 20 <?else?> 21 <?define VBOX_QT_INFIX="" ?> 22 <?endif?> 17 23 18 24 <?if $(env.VBOX_WITH_DOCS_PACKING) = "yes" ?> … … 306 312 <?endif ?> 307 313 <?if $(env.VBOX_WITH_QTGUI_V5) = "no" ?> 308 <File Id="file_QtCore VBox4.dll" Name="QtCoreVBox4.dll"309 Source="$(env.PATH_OUT)\bin\QtCore VBox4.dll" />310 <File Id="file_QtGui VBox4.dll" Name="QtGuiVBox4.dll"311 Source="$(env.PATH_OUT)\bin\QtGui VBox4.dll" />314 <File Id="file_QtCore$(var.VBOX_QT_INFIX)4.dll" Name="QtCore$(var.VBOX_QT_INFIX)4.dll" 315 Source="$(env.PATH_OUT)\bin\QtCore$(var.VBOX_QT_INFIX)4.dll" /> 316 <File Id="file_QtGui$(var.VBOX_QT_INFIX)4.dll" Name="QtGui$(var.VBOX_QT_INFIX)4.dll" 317 Source="$(env.PATH_OUT)\bin\QtGui$(var.VBOX_QT_INFIX)4.dll" /> 312 318 <?else ?> 313 <File Id="file_Qt5Core VBox.dll" Name="Qt5CoreVBox.dll"314 Source="$(env.PATH_OUT)\bin\Qt5Core VBox.dll" />315 <File Id="file_Qt5Gui VBox.dll" Name="Qt5GuiVBox.dll"316 Source="$(env.PATH_OUT)\bin\Qt5Gui VBox.dll" />317 <File Id="file_Qt5Widgets VBox.dll" Name="Qt5WidgetsVBox.dll"318 Source="$(env.PATH_OUT)\bin\Qt5Widgets VBox.dll" />319 <File Id="file_Qt5PrintSupport VBox.dll" Name="Qt5PrintSupportVBox.dll"320 Source="$(env.PATH_OUT)\bin\Qt5PrintSupport VBox.dll" />321 <File Id="file_Qt5WinExtras VBox.dll" Name="Qt5WinExtrasVBox.dll"322 Source="$(env.PATH_OUT)\bin\Qt5WinExtras VBox.dll" />319 <File Id="file_Qt5Core$(var.VBOX_QT_INFIX).dll" Name="Qt5Core$(var.VBOX_QT_INFIX).dll" 320 Source="$(env.PATH_OUT)\bin\Qt5Core$(var.VBOX_QT_INFIX).dll" /> 321 <File Id="file_Qt5Gui$(var.VBOX_QT_INFIX).dll" Name="Qt5Gui$(var.VBOX_QT_INFIX).dll" 322 Source="$(env.PATH_OUT)\bin\Qt5Gui$(var.VBOX_QT_INFIX).dll" /> 323 <File Id="file_Qt5Widgets$(var.VBOX_QT_INFIX).dll" Name="Qt5Widgets$(var.VBOX_QT_INFIX).dll" 324 Source="$(env.PATH_OUT)\bin\Qt5Widgets$(var.VBOX_QT_INFIX).dll" /> 325 <File Id="file_Qt5PrintSupport$(var.VBOX_QT_INFIX).dll" Name="Qt5PrintSupport$(var.VBOX_QT_INFIX).dll" 326 Source="$(env.PATH_OUT)\bin\Qt5PrintSupport$(var.VBOX_QT_INFIX).dll" /> 327 <File Id="file_Qt5WinExtras$(var.VBOX_QT_INFIX).dll" Name="Qt5WinExtras$(var.VBOX_QT_INFIX).dll" 328 Source="$(env.PATH_OUT)\bin\Qt5WinExtras$(var.VBOX_QT_INFIX).dll" /> 323 329 <?endif ?> 324 330 <?endif ?> … … 331 337 <?if $(env.VBOX_GUI_USE_QGL) = "yes" ?> 332 338 <?if $(env.VBOX_WITH_QTGUI_V5) = "no" ?> 333 <File Id="file_QtOpenGL VBox4.dll" Name="QtOpenGLVBox4.dll"334 Source="$(env.PATH_OUT)\bin\QtOpenGL VBox4.dll" />339 <File Id="file_QtOpenGL$(var.VBOX_QT_INFIX)4.dll" Name="QtOpenGL$(var.VBOX_QT_INFIX)4.dll" 340 Source="$(env.PATH_OUT)\bin\QtOpenGL$(var.VBOX_QT_INFIX)4.dll" /> 335 341 <?else ?> 336 <File Id="file_Qt5OpenGL VBox.dll" Name="Qt5OpenGLVBox.dll"337 Source="$(env.PATH_OUT)\bin\Qt5OpenGL VBox.dll" />342 <File Id="file_Qt5OpenGL$(var.VBOX_QT_INFIX).dll" Name="Qt5OpenGL$(var.VBOX_QT_INFIX).dll" 343 Source="$(env.PATH_OUT)\bin\Qt5OpenGL$(var.VBOX_QT_INFIX).dll" /> 338 344 <?endif ?> 339 345 <?endif?>
Note:
See TracChangeset
for help on using the changeset viewer.

