PrimeWorldEditor
PrimeWorldEditor copied to clipboard
Issue building on Windows
Hello,
I'm looking to try and build PWE from source on Windows. I've followed the instructions installing the perquisites
- Visual Studio Community 2019
- Qt 5.12.10
- LLVM 6.0.1
- Python 3.7.9
I opened up the CMakeSettings.json file and updated both CMAKE_PREFIX_PATHs
But I now seem to be getting this error:
Error C2440 '<function-style-cast>': cannot convert from 'initializer list' to 'QList<CAssetID>'
Along with this
Error (active) E0289 no instance of constructor "QList<T>::QList [with T=CAssetID]" matches the argument list
It's attributed to line 225 in CWorldTreeModel.cpp
QList<CAssetID> QWorldIDs = QList<CAssetID>(WorldIDs.begin(), WorldIDs.end());
Given that it's a Qt data type I'm wondering if I have an improper version installed. If you're able to provide any assistance at all it would be greatly appreciated. I'm looking to try and add in support for MAPA file viewing if I can get this in a buildable state.
Had this problem too. Fixed it. Qt 5.14.1 is required Qt must be installed to C:\Qt The Qt msvc2017_64 component must be installed. Use a junction if you must install to a separate drive Use the command line method to build