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

[ogre] Temporary disable dependency qt #14226

Merged

Conversation

JackBoosY
Copy link
Contributor

Currently ogre does not set the dependency qt, but in the cmake configuration, if it is detected that qt has been installed, the related features will be automatically enabled, which will cause error:

Components\Bites\include\moc_OgreApplicationContextQt.cpp(59): warning C4273: 'OgreBites::ApplicationContextQt::qt_static_metacall': inconsistent dll linkage
D:\buildtrees\ogre\x64-windows-static-dbg\Components\Bites\include\../../../../src/eddf310f0b-3998636895.clean/Components/Bites/include/OgreApplicationContextQt.h(32): note: see previous definition of 'qt_static_metacall'
Components\Bites\include\moc_OgreApplicationContextQt.cpp(66): warning C4273: 'staticMetaObject': inconsistent dll linkage
D:\buildtrees\ogre\x64-windows-static-dbg\Components\Bites\include\../../../../src/eddf310f0b-3998636895.clean/Components/Bites/include/OgreApplicationContextQt.h(32): note: see previous definition of 'public: static QMetaObject const OgreBites::ApplicationContextQt::staticMetaObject'
Components\Bites\include\moc_OgreApplicationContextQt.cpp(66): error C2491: 'OgreBites::ApplicationContextQt::staticMetaObject': definition of dllimport static data member not allowed
Components\Bites\include\moc_OgreApplicationContextQt.cpp(77): warning C4273: 'OgreBites::ApplicationContextQt::metaObject': inconsistent dll linkage
D:\buildtrees\ogre\x64-windows-static-dbg\Components\Bites\include\../../../../src/eddf310f0b-3998636895.clean/Components/Bites/include/OgreApplicationContextQt.h(32): note: see previous definition of 'metaObject'
Components\Bites\include\moc_OgreApplicationContextQt.cpp(82): warning C4273: 'OgreBites::ApplicationContextQt::qt_metacast': inconsistent dll linkage
D:\buildtrees\ogre\x64-windows-static-dbg\Components\Bites\include\../../../../src/eddf310f0b-3998636895.clean/Components/Bites/include/OgreApplicationContextQt.h(32): note: see previous definition of 'qt_metacast'
Components\Bites\include\moc_OgreApplicationContextQt.cpp(92): warning C4273: 'OgreBites::ApplicationContextQt::qt_metacall': inconsistent dll linkage
D:\buildtrees\ogre\x64-windows-static-dbg\Components\Bites\include\../../../../src/eddf310f0b-3998636895.clean/Components/Bites/include/OgreApplicationContextQt.h(32): note: see previous definition of 'qt_metacall'

Temporary disable it to fix this issue.

Related: #14220.

@JackBoosY JackBoosY added category:port-bug The issue is with a library, which is something the port should already support info:internal This PR or Issue was filed by the vcpkg team. labels Oct 26, 2020
@BillyONeal BillyONeal merged commit ac2ddd5 into microsoft:master Oct 26, 2020
@BillyONeal
Copy link
Member

Thanks for your contribution!

@JackBoosY JackBoosY deleted the dev/jack/ogre_disable_dependency_qt branch October 26, 2020 05:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-bug The issue is with a library, which is something the port should already support info:internal This PR or Issue was filed by the vcpkg team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants