Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qmake boolean operator precedence
Forum Updated to NodeBB v4.3 + New Features

Qmake boolean operator precedence

Scheduled Pinned Locked Moved Qt Creator and other tools
1 Posts 1 Posters 1.3k 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.
  • napajejenunedk0N Offline
    napajejenunedk0N Offline
    napajejenunedk0
    wrote on last edited by
    #1

    Could you guess the result?

    Please, could someone give me the exact operator precedence table for qmake ( : = and, | = or )?

    @
    VAR_A =
    VAR_B = B
    VAR_C = C

    !isEmpty( VAR_A ) | !isEmpty( VAR_B ) : !isEmpty( VAR_C ) {
    message( 1 )
    }

    VAR_D = D

    !isEmpty( VAR_A ) : !isEmpty( VAR_B ) | !isEmpty( VAR_C ) : !isEmpty( VAR_D ) {
    message( 2 )
    }
    @

    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