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

Misplaced header files in Qt creator project file #713

Closed
viktor-irafm opened this Issue Jul 4, 2016 · 2 comments

Comments

Projects
None yet
2 participants
@viktor-irafm

viktor-irafm commented Jul 4, 2016

Configuration

Operating system:
linux amd64

PlatformIO Version (platformio --version):
PlatformIO, version 2.11.1.dev0

Description of problem

When used command: platformio init --ide qtcreator --board uno for generating files for Qt creator IDE if header files are in the src directory they are added into SOURCES variable in the resulting platformio.pro file but they should be added into HEADERS variable.

Steps to Reproduce

  1. place header files into src directory
  2. execute platformio init --ide qtcreator --board uno

Actual Results

SOURCES += src/main.cpp
SOURCES += src/file2.cpp
SOURCES += src/file2.h
SOURCES += src/main.h

Expected Results

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

HEADERS += src/main.h
HEADERS += src/file2.h

@ivankravets ivankravets self-assigned this Jul 4, 2016

@ivankravets ivankravets added this to the 2.11.1 milestone Jul 4, 2016

@ivankravets

This comment has been minimized.

@viktor-irafm

This comment has been minimized.

viktor-irafm commented Jul 5, 2016

Yes! I may confirm it works, thanks.

ivankravets added a commit that referenced this issue Jul 6, 2016

Merge branch 'develop' into feature/platformio-30
* 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 12, 2016

@ivankravets ivankravets referenced this issue Jul 12, 2016

Closed

platformio 2.11.1 #2936

4 of 4 tasks complete

ivankravets added a commit that referenced this issue Jul 18, 2016

Merge branch 'develop' into feature/platformio-30
* 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