Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue building on Windows #34

Open
ThomasJRyan opened this issue Dec 25, 2020 · 1 comment
Open

Issue building on Windows #34

ThomasJRyan opened this issue Dec 25, 2020 · 1 comment

Comments

@ThomasJRyan
Copy link

ThomasJRyan commented Dec 25, 2020

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.

@xchellx
Copy link

xchellx commented Feb 12, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants