Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to run C code in Qt creator to build an interface?

Status
Not open for further replies.

klun

Junior Member level 2
Junior Member level 2
Joined
May 1, 2015
Messages
20
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
386
I have an existing C code, and now I want to build an interface in Qt creator so that my output would'nt just in the plain gcc console look. Can anyone teach me how to run the code in Qt creator in order to obtain a simple interface?
 

Hi Klun

is your C-Project Makefile, cmake or auto tools based?

cmake:
https://doc.qt.io/qtcreator/creator-project-cmake.html
autotools:
https://doc.qt.io/qtcreator/creator-projects-autotools.html
generic:
https://doc.qt.io/qtcreator/creator-project-generic.html


An easy way is the following:
File->New File or Project->Import Project->Import Existing Project

Choose project name and select the directories to import.

Thats it.

BTW. QtCreator is a general purpose IDE. It has also a Bare metal plugin for microcontroller development.
Help->About Plugins->DeviceSupport. The QtCreator has to be restarted to activate the plugin.

Cheers Juergen
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top