[vbox-dev] [PATCH] Qt is mandatory so the script should stop if it is not available

Bodo bopi at users.sourceforge.net
Mon Nov 12 10:51:05 GMT 2012


===================================================================
--- a/configure.vbs	(revision 43844)
+++ b/configure.vbs	(working copy)
@@ -2053,8 +2053,13 @@
 
    ' Display the result.
    if strPathQt4 = "" then
-      CfgPrint "VBOX_WITH_QT4GUI="
-      PrintResultMsg "Qt4", "not found"
+      if strOptQt4 = "" then
+         MsgError "Can't locate Qt4. Try specify the path with the
--with-qt4=<path> argument. " _
+                & "If still no luck, consult the configure.log and the
build requirements."
+      else
+         MsgError "Can't locate Qt4. Please consult the configure.log and
the build requirements."
+      end if
+      exit sub
    else
       CfgPrint "PATH_SDK_QT4          := " & strPathQt4
       CfgPrint "PATH_TOOL_QT4         := $(PATH_SDK_QT4)"

This Patch is contributed under the MIT license

Regards
Bodo





More information about the vbox-dev mailing list