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 Remote Objects and Different Versions of C++

Qt Remote Objects and Different Versions of C++

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 543 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.
  • S Offline
    S Offline
    spaster
    wrote on last edited by
    #1

    I am trying to switch to QtRemoteObjects for our RPC system and we have run into a snag. One of the connected embedded devices that we have can only run a version of linux that is limited to C++98 (Using the GCC4 compiler).

    I know that Qt switched to C++ 11 with Qt 5, but not all the libraries use it. Does anyone know if its possible to use Remote Objects with gcc4?

    Thanks!

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Huh, your assumptions are not quite true.

      C++11 is a requirement for building Qt since Qt 5.7. I am not sure if that requirement extends to user applications. However, Qt Remote Objects is a new module, added in 5.9, so I guess it does not help you much, unless you are able to cross-compile it on another machine and check if it works on your embedded device.

      Another misconception is that GCC 5 is required. The minimal version of GCC for Qt 5.9 is GCC 4.8, if I recall correctly. It might have been 4.7. So in that sense yes, Qt Remote Objects will work with GCC 4. I think it also might work with older versions, as the module itself was created even before Qt 5.7. But again, I'm recalling from memory, I may be wrong.

      (Z(:^

      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