-
Notifications
You must be signed in to change notification settings - Fork 13
Build Vaa3D Qt6 version on Windows
Following is the instruction to build 64-bit Vaa3D and its plugins on Windows using Qt6 mingw
-
Download the latest qt online installer here(https://download.qt.io/archive/online_installers/)
-
Downloaded qt-unified-windows-x86-4.2.0-online.exe and execute
-
You will need to register a personal account and install Qt version 6.2 and choose MinGW Qt6 version (need to tick the Qt 5 compatibility module option when installing Qt package)
-
The online installer will automatically install Qt Creator
Configure Qt environment variables
QTDIR=<your Qt path>\6.2.2
QMAKESPEC=win32-g++
Then add this path to your PATH variable,
<your Qt path>\6.2.2\mingw_64\bin
<your Qt path>\tools\mingw**\bin
so that your system knows where to find qmake.
Open Git Bash and navigate to the folder where you wish to build Vaa3D. Then use the following 2 lines to download Vaa3D source and its submodule:
git clone -b QT6_NEW https://github.com/Vaa3D/v3d_external.git
git clone -b vaa3d_tools_qt6 https://github.com/Vaa3D/vaa3d_tools.git
Plug-in sources are located in vaa3d_tools folder. We create several links between Vaa3D main body and vaa3d_tools folder to make path specifying easier in project files:
cd <your Vaa3D path>\vaa3d_tools
mklink /j v3d_main ..\v3d_external\v3d_main
mklink /j bin ..\v3d_external\bin
cd ..\v3d_external
mklink /j released_plugins_more ..\vaa3d_tools\released_plugins
- Use QtCreator to open v3d_qt6.pro in
~/v3d_main/v3d/
- Configure, click the Build button (choose release).
Execute the following commands in the command prompt:
cd <your Vaa3D path>\v3d_external\released_plugins_more
build_plugindemo_mingw.bat
cd <your Vaa3D path>\vaa3d_tools\released_plugins
build_plugindemo_mingw.bat
- Copy Vaa3D-x.exe from
<your Vaa3D path>\v3d_external\v3d_main\build-v3d_qt6**Release\release
to<your Vaa3D path>\v3d_external\bin
. - you should copy glew32.dll,openvr_api.dll ,SDL2.dll and libteem.dll from
<your Vaa3D path>\v3d_external\v3d_main\common_lib\mingw_dll
to<your Vaa3D path>\v3d_external\bin
. - Enjoy!
Neuron Tracing
Converting Big-Image-Data
Build Vaa3D Qt6 version on Windows
Build Vaa3D Qt6 version on Ubuntu 20.04