Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
vite
vite
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 5
    • Issues 5
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
  • solverstack
  • vitevite
  • Issues
  • #14

Closed
Open
Opened Dec 03, 2018 by Ghost User@ghost

Qt4 build failure

I'm trying to build the current development ViTE (f96665f2) on centos7. I can't use Qt5 as centos/fedora is missing QtUiTools, and the Qt4 build fails with

  /builddir/build/BUILD/vite-f96665f224ddb90657bc1f85da87e6ed14e2e3eb/src/common/Session.cpp: In static member function 'static Palette* Session::get_palette(const string&, const string&)':
  /builddir/build/BUILD/vite-f96665f224ddb90657bc1f85da87e6ed14e2e3eb/src/common/Session.cpp:310:63: error: 'class QMap<QString, QVariant>' has no member named 'cbegin'; did you mean 'begin'?
           for(QMap<QString, QVariant>::const_iterator it = qmap.cbegin() ;
                                                                 ^~~~~~
  /builddir/build/BUILD/vite-f96665f224ddb90657bc1f85da87e6ed14e2e3eb/src/common/Session.cpp:311:24: error: 'class QMap<QString, QVariant>' has no member named 'cend'; did you mean 'end'?
               it != qmap.cend() ; ++ it) {
                          ^~~~
  make[2]: *** [src/CMakeFiles/vite.dir/common/Session.cpp.o] Error 1

I'm afraid I'm not sufficiently confident to try to fix it in a reasonable time, but it seems to have been broken by the OTF2 merge (which I want!).

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: solverstack/vite#14