#
#    Copyright Analog Flavor 2013-2025
#
#    All rights reserved.
#
#    This software contains proprietary and confidential information which is the
#    property of Analog Flavor and is subject to license terms.
#
#    This file may be used in accordance with the license agreement 
#    provided with the software.
#
#    This copyright notice may not be removed or altered.
#
/*
#
#  Copyright Analog Flavor and Gerard Eichenmueller 2013
#
#  All rights reserved.
#
#  This software contains proprietary and confidential information which is the
#  property of Analog Flavor and Gerard Eichenmueller and is subject to license terms.
#
*/


Here, you must use the compiler that has been used to compile QT.


Build Instructions Visual Studio
--------------------------------
Open a visual studio command prompt :
Start > Programs > Microsoft Visual Studio > Visual Studio Tools > Visual Studio Command Prompt

Update the path variable to include the bin directory of your QT installation :
path=<QT Path>\bin\;%path%

Change to the directory of the Analog Flavor example you want to compile :
cd /D ...\analog_flavor_msw\examples\bspwave_widget\qt_win_test\widget

Generate a Visual Studio project using qmake :
qmake -tp vc test_bspwave_qt_win.pro

This creates a Visual Studio project file which can be opened in Visual Studio.

To execute the compiled example the library af_bspwave_widget_win.dll
and the corresponding QT libraries have to be copied to
the directories ./debug or ./release where the executable has been compiled.

The license file "license.txt" might also have to be copied if BeSpice Wave doesn't find it.


Build Instructions MinGW
------------------------
Open a command prompt.

Update the path variable to include the path to your mingw installation :
path=<MinGW Path>\bin\;<MinGW Path>\libexec\gcc\mingw32\<MinGW Version>\;%path%

Update the path variable to include the bin directory of your QT installation :
path=<QT Path>\bin\;%path%

Change to the directory of the Analog Flavor example you want to compile :
cd /D ...\analog_flavor_msw\examples\bspwave_widget\qt_win_test\widget

Generate a MinGW Makefile using qmake :
qmake -o Makefile -platform win32-g++ test_bspwave_qt_win.pro

Build the executable using mingw :
mingw32-make all

To execute the compiled example the library af_bspwave_widget_win.dll
and the corresponding QT libraries have to be copied to
the directories ./debug or ./release where the executable has been compiled.

The license file "license.txt" might also have to be copied if BeSpice Wave doesn't find it.

