Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • OpenFlipper-Free OpenFlipper-Free
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 22
    • Issues 22
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • OpenFlipper-FreeOpenFlipper-Free
  • OpenFlipper-FreeOpenFlipper-Free
  • Issues
  • #101
Closed
Open
Issue created May 10, 2017 by Martin Schultz@schultzDeveloper

Qt 5.8 moc generation problem

in Qt 5.8.0 there is a bug considering the generation of moc files. the flags for cmake moc file generation are overridden when msvc is used:

https://bugreports.qt.io/browse/QTBUG-58345

in Qt 5.9.0 this bug is fixed.

if you compare the file of qt 5.8.0 with the one of qt 5.9.0

http://code.qt.io/cgit/qt/qtbase.git/tree/src/corelib/Qt5CoreMacros.cmake?h=5.9.0

you can see a very simple fix for this problem. However the online installer does not offer a patched version of qt 5.8 so you have to fix it yourself for now.

the fix for this was implemented in qt on https://codereview.qt-project.org/#/c/184321

so you can compile qt yourself if you want to use 5.8. or try the 5.9 beta builds

Assignee
Assign to
Time tracking