Skip to content
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

Missing trailing '\' in generated platformio.pro file for Qt creator IDE #711

Closed
viktor-irafm opened this issue Jul 3, 2016 · 3 comments
Assignees
Labels
Milestone

Comments

@viktor-irafm
Copy link

Configuration

Operating system:
linux amd64

PlatformIO Version (platformio --version):
PlatformIO, version 2.11.0

Description of problem

When used command: platformio init --ide qtcreator for generating files for Qt creator if more files are in the src directory the SOURCES section in the resulting platformio.pro file is not correctly formed (trailning \ are not included).

Steps to Reproduce

  1. add more cpp files into src dir
  2. execute platformio init --ide qtcreator --board uno

Actual Results

SOURCES += \
    src/main.cpp
    src/file1.cpp
    src/file2.cpp

Expected Results

SOURCES += \
    src/main.cpp \
    src/file1.cpp \
    src/file2.cpp
@ivankravets
Copy link
Member

Thanks a lot for the report. Could you re-test it with the latest http://docs.platformio.org/en/latest/installation.html#development-version ?

@viktor-irafm
Copy link
Author

Thank you, now it is working correctly.

@ivankravets
Copy link
Member

Thanks for the report! 👍

Please give PlatformIO repository a star ⭐ https://github.com/platformio/platformio/stargazers

ivankravets added a commit that referenced this issue Jul 6, 2016
* develop: (27 commits)
  Update boards list
  Add Arduino M0 as a separate board
  Update history
  Update microchippic32 platform and boards
  Fix PyLint warning
  Keep user changes for ".gitignore" file when re-generate/update project data
  Documented uploading of EEPROM data
  Push 2.11.1.dev1
  Automatically install dependent upload tools // Issue #472
  Split source files to HEADERS and SOURCES when generate project for Qt Creator IDE // Resolve #713
  Improve project generator for CLion IDE
  Fix missing trailing ``\`` for the source files list when generate project for Qt Creator IDE // Resolve #711
  * Fix missed ``--boot`` flag for the firmware uploader for ATSAM3X8E Cortex-M3 MCU based boards (Arduino Due, etc) // Resolve #710
  Initial support for Arduino M0/Tian boards // Issue #472
  Update project template for Qt Creator // Issue #711
  Fix missed --boot flag for sam3x uploader // Issue # 710
  Auto-remove project cache when PlatformIO is upgraded
  Version bump to 2.11.0 (issues #472, #520, #614, #620, #685, #698, #699)
  Update history
  Update espressif platform according to the new framework version
ivankravets added a commit that referenced this issue Jul 18, 2016
* develop:
  Update docs for Teensy USB Features // Issue #722
  Implement Teensy 2.0 USB functionality (HID, SERIAL_HID, DISK, MIDI, etc.) // Resolve #722
  Add support for Pinoccio Scout board // Resolve #52
  Fix broken LD Script for Element14 chipKIT Pi board // Resolve #725  Resolve #726
  Fix USB flags processing for teensy platform // Issue #722
  Add Pinoccio board // Issue #52
  Minor improvements for CLion docs
  Improved docs for integration with CLion IDE
  Version bump to 2.11.1 (issues #472, #629, #710, #711, #712, #713, #718)
  Typo fix
  Add "udev" rules for OpenOCD CMSIS-DAP adapters // Resolve #718
  Update history
  Ignore "[platformio]" section from custom project configuration CI
  Bump to 2.11.1b1
  Add Arduino M0 Pro and Tian to the examples // Issue #472
  Fix issue when `pioenvs` folder doesn't exist
  Add more info about `.pioenvs` directory
  Improve CMSIS selection for SAMD21 boards
  Improve support for SAMD21 based boards
  Add contributing guidelines
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants