VirtualBox

Ignore:
Timestamp:
Apr 27, 2016 4:00:32 PM (9 years ago)
Author:
vboxsync
Message:

configure.vbs + Installer/win: make the configure script deal with Qt5 properly and fix the Windows installer packing to use the Qt infix properly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/win/VBoxMergeApp.wxi

    r59924 r60723  
    22    VirtualBox Windows Installation Script (WiX)
    33
    4     Copyright (C) 2006-2015 Oracle Corporation
     4    Copyright (C) 2006-2016 Oracle Corporation
    55
    66    This file is part of VirtualBox Open Source Edition (OSE), as
     
    1515<Include xmlns="http://schemas.microsoft.com/wix/2006/wi"
    1616         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?>
    1723
    1824<?if $(env.VBOX_WITH_DOCS_PACKING) = "yes" ?>
     
    306312    <?endif ?>
    307313    <?if $(env.VBOX_WITH_QTGUI_V5) = "no" ?>
    308         <File Id="file_QtCoreVBox4.dll" Name="QtCoreVBox4.dll"
    309               Source="$(env.PATH_OUT)\bin\QtCoreVBox4.dll" />
    310         <File Id="file_QtGuiVBox4.dll" Name="QtGuiVBox4.dll"
    311               Source="$(env.PATH_OUT)\bin\QtGuiVBox4.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" />
    312318    <?else ?>
    313         <File Id="file_Qt5CoreVBox.dll" Name="Qt5CoreVBox.dll"
    314               Source="$(env.PATH_OUT)\bin\Qt5CoreVBox.dll" />
    315         <File Id="file_Qt5GuiVBox.dll" Name="Qt5GuiVBox.dll"
    316               Source="$(env.PATH_OUT)\bin\Qt5GuiVBox.dll" />
    317         <File Id="file_Qt5WidgetsVBox.dll" Name="Qt5WidgetsVBox.dll"
    318               Source="$(env.PATH_OUT)\bin\Qt5WidgetsVBox.dll" />
    319         <File Id="file_Qt5PrintSupportVBox.dll" Name="Qt5PrintSupportVBox.dll"
    320               Source="$(env.PATH_OUT)\bin\Qt5PrintSupportVBox.dll" />
    321         <File Id="file_Qt5WinExtrasVBox.dll" Name="Qt5WinExtrasVBox.dll"
    322               Source="$(env.PATH_OUT)\bin\Qt5WinExtrasVBox.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" />
    323329    <?endif ?>
    324330<?endif ?>
     
    331337<?if $(env.VBOX_GUI_USE_QGL) = "yes" ?>
    332338    <?if $(env.VBOX_WITH_QTGUI_V5) = "no" ?>
    333         <File Id="file_QtOpenGLVBox4.dll" Name="QtOpenGLVBox4.dll"
    334               Source="$(env.PATH_OUT)\bin\QtOpenGLVBox4.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" />
    335341    <?else ?>
    336         <File Id="file_Qt5OpenGLVBox.dll" Name="Qt5OpenGLVBox.dll"
    337               Source="$(env.PATH_OUT)\bin\Qt5OpenGLVBox.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" />
    338344    <?endif ?>
    339345<?endif?>
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette