Results 1 to 2 of 2

Thread: How to change run configurations programmatically?

  1. #1
    Join Date
    Nov 2015
    Posts
    11
    Qt products
    Qt5
    Platforms
    Windows

    Post How to change run configurations programmatically?

    Hello,

    I want to know whether it is possible to create run configuration programmatically, i.e. through .pro file? I am quiet new to Qt, and the problem I am facing is with run configuration. I have a piece of source code, which I want to make it run on Windows + Mac OS. I have configured on my Windows machine, two run configurations, one for windows and another for mac. Now I bundle this project in a single zip file and pass it onto the Mac machine. There all the run configurations are reset and they are not the same as I had set in windows. I tested the same on another windows based computer, there also I faced the same issue. So, my question is How do I retain run configurations on different systems? I felt there would be some option to implement it using .pro file. Kindly give me your suggestions on this issue.

    Note: I don't have any problem with setting Build configurations through .pro file. I face problem only with Run configurations.

    Thanks in advance

    Rakesh Patil

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: How to change run configurations programmatically?

    Run configuration as in QtCreator run?

    I think those are saved to the pro.user file.

    Cheers,
    _

Similar Threads

  1. modifing register configurations of camera driver
    By vinaysagar in forum General Programming
    Replies: 0
    Last Post: 11th September 2014, 11:43
  2. Multiple build configurations with qmake
    By DasHannes in forum Qt Tools
    Replies: 4
    Last Post: 5th April 2012, 00:47
  3. Multiple Qt configurations in my machine.
    By Diegol in forum Installation and Deployment
    Replies: 2
    Last Post: 2nd February 2010, 04:50
  4. Replies: 1
    Last Post: 11th November 2009, 15:18
  5. Replies: 10
    Last Post: 29th August 2008, 16:44

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.