Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
OpenFlipper-Free
OpenFlipper-Free
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 23
    • Issues 23
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 5
    • Merge Requests 5
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • OpenFlipper-Free
  • OpenFlipper-FreeOpenFlipper-Free
  • Issues
  • #101

Closed
Open
Opened 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
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: OpenFlipper-Free/OpenFlipper-Free#101