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

QT5.14.1 Windows Compile Error #6

Open
duerrpADA opened this issue Feb 7, 2020 · 4 comments
Open

QT5.14.1 Windows Compile Error #6

duerrpADA opened this issue Feb 7, 2020 · 4 comments

Comments

@duerrpADA
Copy link

Tried to compile with Visual Studio 2017 and QT 5.14.1 but got the following Errors:

Error	C2248	'QObjectUserData::QObjectUserData': cannot access private member declared in class 'QObjectUserData'	qtcore	c:\devtools\lqtqt5.14.1\build\qtcore_src\qtcore_meta_qobjectuserdata.cpp	7	
Error	C3861	'qmlRegisterBaseTypes': identifier not found	qtqml	c:\devtools\lqtqt5.14.1\build\qtqml_src\qtqml_globals.cpp	3333	
Error	C3861	'qmlRegisterBaseTypes': identifier not found	qtwebchannel	c:\devtools\lqtqt5.14.1\build\qtwebchannel_src\qtwebchannel_globals.cpp	3435	
Error	C3861	'qmlRegisterBaseTypes': identifier not found	qtquick	c:\devtools\lqtqt5.14.1\build\qtquick_src\qtquick_globals.cpp	5052	
Error	C3861	'qmlRegisterBaseTypes': identifier not found	qtquickwidgets	c:\devtools\lqtqt5.14.1\build\qtquickwidgets_src\qtquickwidgets_globals.cpp	5769	
Error	C3861	'qmlRegisterBaseTypes': identifier not found	qtwebenginecore	c:\devtools\lqtqt5.14.1\build\qtwebenginecore_src\qtwebenginecore_globals.cpp	500	
Error	C3861	'qmlRegisterBaseTypes': identifier not found	qtwebenginewidgets	c:\devtools\lqtqt5.14.1\build\qtwebenginewidgets_src\qtwebenginewidgets_globals.cpp	4468	

With Visual Studio 2017 and QT 5.13.2 everything compiles successfully.

I found a link which states that 'qmlRegisterBaseTypes' was exported only accidentally and is now removed:
https://code.qt.io/cgit/qt/qtdeclarative.git/tree/dist/changes-5.14.0/?h=v5.14.0

in line 220:

The accidentally exported function qmlRegisterBaseTypes() was removed.

If needed i can supply a complete build-log.

@sanikoyes
Copy link
Collaborator

sanikoyes commented Feb 25, 2020

Current version used 5.13.x headers(lqt files) only, i was tested compile with qt 5.12.0 and 5.13.0, other version was not tested.

@duerrpADA
Copy link
Author

Are there any plans on keeping this library up with the upcoming QT Versions?
QT 5.15 will be the last QT5 Version and QT6 will arrive soon i guess.

@sanikoyes
Copy link
Collaborator

sanikoyes commented Jun 20, 2020

I have a plan to rewrite cpptoxml and use libclang + Python to parse the latest official version of QT header to generate C + + ast XML file, but this is a long-term plan.

@stof-soft
Copy link

please if anyone can upload pre-compiled DLLs . 32bit

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

3 participants