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, user variables, and conditions
Forum Updated to NodeBB v4.3 + New Features

Qmake, user variables, and conditions

Scheduled Pinned Locked Moved Qt Creator and other tools
2 Posts 1 Posters 734 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.
  • N Offline
    N Offline
    nen777w
    wrote on last edited by
    #1

    Hi!
    Why this code isn't work?
    @ENA = YES
    message($${ENA})
    contains($${ENA}, YES) {
    message("triggered")
    }
    @

    In console I see only "YES" message.
    Thanks.

    1 Reply Last reply
    0
    • N Offline
      N Offline
      nen777w
      wrote on last edited by
      #2

      Sorry, fix it:
      @
      ENA = YES
      message($${ENA})
      contains(ENA, "YES") {
      message("triggered")
      }
      @

      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