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. How to create project for only system commands
Forum Updated to NodeBB v4.3 + New Features

How to create project for only system commands

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

    I need to create some projects for running of the only system commands. For example, running of the batch file under Win or the bash file under Mac. I want to include this projects to the main project's tree and run it only if it's necessary. Which TEMPLATE can I use for this?

    I mean something like that:
    project's tree:
    @
    TEMPLATE = subdirs
    CONFIG += ordered

    SUBDIRS += project1
    SUBDIRS += project2
    SUBDIRS += project3
    isEqual(DEPLOYING,"1") SUBDIRS += deployer
    isEqual(INSTALLER,"1") SUBDIRS += installer
    @

    deploying project:
    @
    win32{
    $$system("deploy.bat")
    }
    macx{
    $$system("deploy.sh")
    }
    @

    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