C and Qt | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

C and Qt

Please anyone here is familiar with C language and qt? I don’t know how to import my C project into QT

7th Jun 2022, 7:27 PM
Kawtar
Kawtar - avatar
3 Answers
+ 2
I don't think qt supports C, do you mean C++?
7th Jun 2022, 7:36 PM
Apollo-Roboto
Apollo-Roboto - avatar
+ 1
It does actually , one of my classmates has already used it in his project, but he didn’t want to share how he did.
7th Jun 2022, 8:10 PM
Kawtar
Kawtar - avatar
+ 1
Kawtar as Apollo-Roboto said , you must have a C++ compiler. But it doesn't mean that your "application logic" can't be written in C, compiled with a C compiler and carefully linked to the C++ part (the GUI with Qt). This application logic can be generic, linkable into other executables (pure-C only, mixed C/C++, etc.)
30th Jun 2022, 1:31 AM
Amine Laaboudi
Amine Laaboudi - avatar