Skip to content

Qt Creator integration enhancement request #3046

@dewhisna

Description

@dewhisna

What kind of issue is this?

  • Feature Request.
    Start by telling us what problem you’re trying to solve. Often a solution
    already exists! Don’t send pull requests to implement new features without first getting our
    support. Sometimes we leave features out on purpose to keep the project small.

  • PlatformIO Core.
    If you’ve found a bug, please provide an information below.


Configuration

Operating system: All

PlatformIO Version (platformio --version): 4.0.3

Additional info

The current integration with Qt Creator works quite well with its ability to output .pro files. However, I would like to see it output it as Qt Creator generic project files instead, with files like .config, .creator, .files, .include, etc. This will allow it to be used with kit configurations that don't include Qt itself, as .pro files are more specific to projects using Qt and requires qmake and a full Qt installation. Plus, qmake is a dying application which they are gradually replacing with cmake.

All of the content of the .pro file that PlatformIO creates fits nicely in these generic project files, which Qt Creator will load together as a project. Just put the predefined macros (or defines) in the .config file. Put the list of project source files in the .files file. And list the include paths in the .include file. And create a .creator file with a single [General] line. And if there are build flags, .cflags and .cxxflags files can be used.

I think this would be a relatively easy change to PlatformIO, but would be a nice improvement in its export to Qt Creator and will allow people to use it with just Qt Creator installed without installing all of Qt too.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions