Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. binary '+': no operator found which takes a left-hand operand of type 'QDateTime'

binary '+': no operator found which takes a left-hand operand of type 'QDateTime'

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 235 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    GalHA
    wrote on last edited by
    #1

    I'm trying to build QtCreator from source from within the Creator.
    I opened the CMakeLists.txt in the Creator I have everything set up and configured with the PREFIX_PATH and NMake Makefiles JOM as the generator.

    When I build the source I run into the error:
    binary '+': no operator found which takes a left-hand operand of type 'QDateTime'
    multiple times towards the end of the build process.

    I didn't edit the source code, I followed the steps that are posted in the github page for the Qt Creator source.

    Does anyone know how can I build this successfully?

    jsulmJ 1 Reply Last reply
    0
    • G GalHA

      I'm trying to build QtCreator from source from within the Creator.
      I opened the CMakeLists.txt in the Creator I have everything set up and configured with the PREFIX_PATH and NMake Makefiles JOM as the generator.

      When I build the source I run into the error:
      binary '+': no operator found which takes a left-hand operand of type 'QDateTime'
      multiple times towards the end of the build process.

      I didn't edit the source code, I followed the steps that are posted in the github page for the Qt Creator source.

      Does anyone know how can I build this successfully?

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @GalHA What version of QtCreator are you tryring to build and what Qt version do you use?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      G 1 Reply Last reply
      0
      • jsulmJ jsulm

        @GalHA What version of QtCreator are you tryring to build and what Qt version do you use?

        G Offline
        G Offline
        GalHA
        wrote on last edited by
        #3

        @jsulm I was just about to comment that I solved it. I just switched to the 11.0 branch instead of the master branch.

        I'm using Qt 6.3.1 and building Qt Creator 11.0 and now it works!

        1 Reply Last reply
        0
        • G GalHA has marked this topic as solved on

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved