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. qt 5.6.0 google test
Qt 6.11 is out! See what's new in the release blog

qt 5.6.0 google test

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 986 Views 1 Watching
  • 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.
  • Y Offline
    Y Offline
    yurch77
    wrote on last edited by yurch77
    #1

    I am use Qt 5.6.0 (source build) with Qt3d and Qt Quick, that is why i need use Microsoft Visual C++ Compiler 11.00 (x86), i also need google test libs.

    I get error ".... gtest\gtest-printers.h:653: error: C2977: 'std::tuple' : too many template arguments"

    As i anderstand this is a error of Microsoft Visual C++ Compiler 11.00, but i can't use another compiler.

    Is there a solution to this problem?

    ValentinMicheletV 1 Reply Last reply
    0
    • O Offline
      O Offline
      ObiWan
      wrote on last edited by
      #2

      Hi, take look at this

      1 Reply Last reply
      0
      • Y yurch77

        I am use Qt 5.6.0 (source build) with Qt3d and Qt Quick, that is why i need use Microsoft Visual C++ Compiler 11.00 (x86), i also need google test libs.

        I get error ".... gtest\gtest-printers.h:653: error: C2977: 'std::tuple' : too many template arguments"

        As i anderstand this is a error of Microsoft Visual C++ Compiler 11.00, but i can't use another compiler.

        Is there a solution to this problem?

        ValentinMicheletV Offline
        ValentinMicheletV Offline
        ValentinMichelet
        wrote on last edited by
        #3

        @yurch77 said:

        I am use Qt 5.0.0 (source build) with Qt3d and Qt Quick, that is why i need use Microsoft Visual C++ Compiler 11.00 (x86)

        You don't need to use a very old version of VS compiler to compile Qt 5. So, unless there is a real good reason not to do so, I recommend you to install a newer compiler version and recompile Qt 5.

        You want to use C++11 features as well as a compiler that is not entirely supporting C++11. At some point, you have to realize that some constraints are not compatible. Concerning the hack that @ObiWan provided, it means that you will have to modify the sources from Google test, which will be much more painful than getting a recent compiler - unless you have other constraints about your compiler version that you didn't mention.

        1 Reply Last reply
        0

        • Login

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