Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt Creator: g++ for both c and cpp files
Forum Update on Monday, May 27th 2025

Qt Creator: g++ for both c and cpp files

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
1 Posts 1 Posters 255 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    anshah
    wrote on 30 Aug 2019, 01:11 last edited by
    #1

    I am using Qt Creator (Qt 5.9) on an integrated project which contains non-Qt files but on top of that the files are C and C++. Qt Creator has an option in the build tools for g++ for the *.cpp files and gcc for the *.c files.

    I want to force the *.c files to compile using g++ instead of gcc but I can't figure out how to do that. Any ideas? Any thing I should add to the .pro file?

    1 Reply Last reply
    0

    1/1

    30 Aug 2019, 01:11

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved