Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

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

    Tools
    1
    1
    161
    Loading More Posts
    • 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
      anshah last edited by

      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 Reply Quote 0
      • First post
        Last post