No edit summary
No edit summary
Line 8: Line 8:
** Qt Visual Studio Tools
** Qt Visual Studio Tools
** Restart MSVC
** Restart MSVC
* Download and install the Qt Open Source Installer, currently version 6.5, to C:\Qt
* Install Qt6 (open source)
* Add a Qt environment variable for Qt6_HOME to C:\Qt\6.5.2\msvc2019_64
** Download and install the Qt Open Source Installer, currently version 6.5, to C:\Qt
** Add a Qt environment variable for Qt6_HOME to C:\Qt\6.5.2\msvc2019_64
* The externals/boost folder contains only header files. I needed to download the correct binary version, currently 1.75.0, and install the contents of the lib64-msvc-14.2 folder to externals/boost/lib
* The externals/boost folder contains only header files. I needed to download the correct binary version, currently 1.75.0, and install the contents of the lib64-msvc-14.2 folder to externals/boost/lib
* Restart MSVC and open the "xpilot" folder
* Restart MSVC and open the "xpilot" folder
* After clicking "Generate", if all goes well, you should get a number of deliverables in the build dropdown, particularly xpilot.exe
* After clicking "Generate", if all goes well, you should get a number of deliverables in the build dropdown, particularly xpilot.exe

Revision as of 04:26, 24 August 2023

X-Pilot is a client written in C++ and the Qt Framework that can be used to interface X-Plane with the Vatsim network.

Compiling x-pilot was challenging. Here's the general steps I followed (successfully?)

  • Download the xpilot client from https://github.com/xpilot-project/xpilot and install somewhere
    • Please note that when downloading x-pilot, it relies on multiple external repositories found in the externals folder and the plugin folder. If your github client doesn't resolve and download these automatically, you may need to add them manually.
  • From within MSVC 2022, add the Qt libraries under Extensions > Manage Extensions
    • Qt Vs CMake Tools
    • Qt Visual Studio Tools
    • Restart MSVC
  • Install Qt6 (open source)
    • Download and install the Qt Open Source Installer, currently version 6.5, to C:\Qt
    • Add a Qt environment variable for Qt6_HOME to C:\Qt\6.5.2\msvc2019_64
  • The externals/boost folder contains only header files. I needed to download the correct binary version, currently 1.75.0, and install the contents of the lib64-msvc-14.2 folder to externals/boost/lib
  • Restart MSVC and open the "xpilot" folder
  • After clicking "Generate", if all goes well, you should get a number of deliverables in the build dropdown, particularly xpilot.exe