Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

Register Log in

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

Status
Not open for further replies.

klun

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?
 

messi1

Newbie level 5
Joined
Jan 3, 2006
Messages
10
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,367
Hi Klun

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

cmake:
http://doc.qt.io/qtcreator/creator-project-cmake.html
autotools:
http://doc.qt.io/qtcreator/creator-projects-autotools.html
generic:
http://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.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top