On Friday 22 May 2015 13:32:25 Petr Vanek wrote: > hi all, > > my plugin exposes two types of > ProjectExplorer::LocalApplicationRunConfiguration: > > class QorusExecutableRunConfiguration : public > ProjectExplorer::LocalApplicationRunConfiguration > and > class QoreExecutableRunConfiguration : public > ProjectExplorer::LocalApplicationRunConfiguration > > my idea is to switch between these configurations whenever the current > edited document changes. Then the lookup into registered mime types > shows what run configuration should be used. > But I cannot find how I can set the current run configuration in the > code. I'm able to do it only by hands in the UI - MiniProjectTargetSelector. > > Is there some hidden build/run target handler inside qt creator, please? > project()->target()->setActiveRunConfiguration(), but that's sounds very strange to want.
daniel _______________________________________________ Qt-creator mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/qt-creator
