-
-
Notifications
You must be signed in to change notification settings - Fork 795
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Qt Creator integration enhancement request #3046
Comments
Could you provide PR? See examples https://github.com/platformio/platformio-core/tree/develop/platformio/ide/tpls The source code of PlatformIO is located in
|
PR created... Since Qt Creator can default to running This Run with: |
The QtCreator generator should add the following lines to the platformio.pro file:
to avoid the need for the user to install the Qt library. |
I tried this, but Qt Creator still says "no suitable kits found". |
revised PR: #4262 |
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.3Additional 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 requiresqmake
and a full Qt installation. Plus,qmake
is a dying application which they are gradually replacing withcmake
.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.
The text was updated successfully, but these errors were encountered: