Skip to content

Issue building on Windows #34

@ThomasJRyan

Description

@ThomasJRyan

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions