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. Comment out a block of text / lines in .pro file ?

Comment out a block of text / lines in .pro file ?

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

    I can comment out a line - using # .
    Is there a way to comment out a block of text / lines ?
    Lines C style

    / *
    text to comment out here
    */

    1 Reply Last reply
    0
    • C Offline
      C Offline
      ChrisW67
      wrote on last edited by
      #2

      qmake only offers single line comments

      If we guess you are using Qt Creator to edit this pro file then you can:

      • Select all the lines you wish to comment out
      • Press Ctrl-/ to toggle the comment state
      1 Reply Last reply
      1

      • Login

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