Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Qt 6
  4. how to solve the @ marked code
Qt 6.11 is out! See what's new in the release blog

how to solve the @ marked code

Scheduled Pinned Locked Moved Unsolved Qt 6
2 Posts 2 Posters 386 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.
  • nicker playerN Offline
    nicker playerN Offline
    nicker player
    wrote on last edited by
    #1
    #if !defined (L_BIG_ENDIAN) && !defined (L_LITTLE_ENDIAN)
    # if @APPLE_UNIVERSAL_BUILD@
    #  ifdef __BIG_ENDIAN__
    #   define L_BIG_ENDIAN
    #  else
    #   define L_LITTLE_ENDIAN
    #  endif
    # else
    #  define @ENDIANNESS@
    # endif
    #endif
    
    

    i just want include the headers from other projects.now here is the @ code dont recognize .So how so solve the problem?

    JonBJ 1 Reply Last reply
    0
    • nicker playerN nicker player
      #if !defined (L_BIG_ENDIAN) && !defined (L_LITTLE_ENDIAN)
      # if @APPLE_UNIVERSAL_BUILD@
      #  ifdef __BIG_ENDIAN__
      #   define L_BIG_ENDIAN
      #  else
      #   define L_LITTLE_ENDIAN
      #  endif
      # else
      #  define @ENDIANNESS@
      # endif
      #endif
      
      

      i just want include the headers from other projects.now here is the @ code dont recognize .So how so solve the problem?

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by JonB
      #2

      @nicker-player
      This is not legal C++ code. The @ s are obviously intended so that something pre-processes this to change the @...@s. But nobody can tell you where/what that since you say nothing about where this is, or whether it has anything to do with Qt....

      1 Reply Last reply
      2

      • Login

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