VirtualBox

Changes between Version 18 and Version 19 of Windows build instructions


Ignore:
Timestamp:
Mar 25, 2008 9:58:28 AM (17 years ago)
Author:
pentagonik
Comment:

Added qtwin for building QT.

Legend:

Unmodified
Added
Removed
Modified
  • Windows build instructions

    v18 v19  
    6161=== Qt ===
    6262
    63 The Qt !VirtualBox frontend (called {{{VirtualBox.exe}}}) is based on the Qt toolkit version 3.3.x. The GPL version of Qt/Windows is based on Qt 4.x and to our knowledge it (officially) only supports the MinGW compiler. When compiling the Qt frontend using MinGW one has to overcome two road blocks:
     63The Qt !VirtualBox frontend (called {{{VirtualBox.exe}}}) is based on the Qt toolkit version 3.3.x. The Trolltech GPL version of Qt/Windows is based on Qt 4.x and to our knowledge it (officially) only supports the MinGW compiler. When compiling the Qt frontend using MinGW one has to overcome two road blocks:
    6464 1. The code depends on ATL (again).
    6565 1. The C++ object layout differs so one would have to look into how g++ can call our COM interfaces.
     
    6767
    6868All the code is there, feel free to try make it build and work.
     69
     70Alternatively, you could use a package called "qtwin", which is located here:
     71http://qtwin.sourceforge.net/
     72
     73This package is a port of the official Qt/x11 sources, which are GPL based, from Trolltech and uses the native Win32 API.
     74It supports Cygwin, MinGW, MS Visual C++ and Borland host environments.
     75
     76To use "qtwin" with VirtualBox, you have to do the following steps:
     77
     78 1. Download the package from http://sourceforge.net/project/showfiles.php?group_id=49109&package_id=42335
     79 1. Extract the package to <VBoxRoot>\tools\win.x86\qt\v3.3.3\
     80 1. Make sure you installed and set up one of the supported compiler environments on your machine
     81 1. Read the instructions how to build qtwin and build it (configure.bat)
     82 1. Tell "configure.vbs" where to find the newly built Qt sources by using the "--with-Qt3=PATH" parameter
     83 1. You maybe have to slightly fix / adjust some settings or sources to compile successfully
    6984
    7085== Running !VirtualBox ==

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