- Timestamp:
- Mar 4, 2009 9:02:44 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure.vbs
r14460 r17329 1674 1674 str = LogFindFile(strPathXml2, "bin/libxml2.dll") 1675 1675 if str <> "" then 1676 if LogFindFile(strPathXml2, "lib/libxml2.lib") then1676 if LogFindFile(strPathXml2, "lib/libxml2.lib") <> "" then 1677 1677 CheckForXml2Sub = True 1678 1678 end if … … 1933 1933 end if 1934 1934 end if 1935 end function 1936 1937 1938 '' 1939 ' Checks for any Qt4 binaries. 1940 sub CheckForQt4(strOptQt4) 1941 dim strPathQt4 1942 1943 PrintHdr "Qt4" 1944 1945 ' 1946 ' Try to find the Qt4 installation (user specified path with --with-qt4) 1947 ' 1948 strPathQt4 = "" 1949 1950 LogPrint "Checking for user specified path of Qt4 ... " 1951 if (strPathQt4 = "") And (strOptQt4 <> "") then 1952 strOptQt4 = UnixSlashes(strOptQt4) 1953 if CheckForQt4Sub(strOptQt4) then strPathQt4 = strOptQt4 1954 end if 1955 1956 if strPathQt4 = "" then 1957 CfgPrint "VBOX_WITH_QT4GUI=" 1958 PrintResult "Qt4", "not found" 1959 else 1960 CfgPrint "PATH_SDK_QT4 := " & strPathQt4 1961 CfgPrint "PATH_TOOL_QT4 = $(PATH_SDK_QT4)" 1962 CfgPrint "VBOX_PATH_QT4 = $(PATH_SDK_QT4)" 1963 PrintResult "Qt4 ", strPathQt4 1964 end if 1965 end sub 1966 1967 1968 ' 1969 ' 1970 function CheckForQt4Sub(strPathQt4) 1971 1972 CheckForQt4Sub = False 1973 LogPrint "trying: strPathQt4=" & strPathQt4 1974 1975 if LogFileExists(strPathQt4, "bin/moc.exe") _ 1976 And LogFileExists(strPathQt4, "bin/uic.exe") _ 1977 And LogFileExists(strPathQt4, "include/Qt/qwidget.h") _ 1978 And LogFileExists(strPathQt4, "include/QtGui/QApplication") _ 1979 And LogFileExists(strPathQt4, "include/QtNetwork/QHostAddress") _ 1980 And ( LogFileExists(strPathQt4, "lib/QtCore4.lib") _ 1981 Or LogFileExists(strPathQt4, "lib/VBoxQtCore4.lib")) _ 1982 And ( LogFileExists(strPathQt4, "lib/QtNetwork4.lib") _ 1983 Or LogFileExists(strPathQt4, "lib/VBoxQtNetwork4.lib")) _ 1984 then 1985 CheckForQt4Sub = True 1986 end if 1987 1935 1988 end function 1936 1989 … … 1955 2008 Print " --with-libSDL=PATH " 1956 2009 Print " --with-MinGW=PATH " 1957 Print " --with-Qt3=PATH " 2010 Print " --with-Qt=PATH " 2011 Print " --with-Qt4=PATH " 1958 2012 Print " --with-SDK=PATH " 1959 2013 Print " --with-VC=PATH " … … 1961 2015 Print " --with-VC-Express-Edition" 1962 2016 Print " --with-W32API=PATH " 1963 Print " --with-libxml 3=PATH "2017 Print " --with-libxml2=PATH " 1964 2018 Print " --with-libxslt=PATH " 1965 2019 end sub … … 2024 2078 case "--with-qt" 2025 2079 strOptQt = strPath 2080 case "--with-qt4" 2081 strOptQt4 = strPath 2026 2082 case "--with-sdk" 2027 2083 strOptSDK = strPath … … 2093 2149 CheckForXslt strOptXslt 2094 2150 CheckForQt strOptQt 2151 CheckForQt4 strOptQt4 2095 2152 if g_blnInternalMode then 2096 2153 EnvPrint "call " & g_strPathDev & "/env.cmd %1 %2 %3 %4 %5 %6 %7 %8 %9"
Note:
See TracChangeset
for help on using the changeset viewer.