E
E
Egorithm2016-07-10 18:35:49
C++ / C#
Egorithm, 2016-07-10 18:35:49

Is it possible to write in pure C under Qt? Or do you need C++ for this?

I want to master Qt, I have not worked with a graphical interface before. I know C, and I would like to know if it is possible to write in Pure C?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
Z
Zelimkhan Beltoev, 2016-07-10
@EgoRusMarch

Given that everything is built on OOP, and not on a procedural approach, the answer is obvious - no.

S
sitev_ru, 2016-07-10
@sitev_ru

How is C different from C++?
For example, let's tell the car to drive at a speed of 10 km/h.
This is in C:
and this is in C++
That's all the difference... Switch to C++! )))

A
Armenian Radio, 2016-07-10
@gbg

It will look like a mixture of a bulldog and a rhinoceros, but why not.

R
Rafael™, 2016-07-10
@maxminimus

try to use webview for cross-platform interface
and logic (application server) in C
in Qt interface markup is similar to css and js-like scripting language
is used so it's easier to use standard system browser

A
abcd0x00, 2016-07-11
@abcd0x00

Not much is needed from C++ - classes and namespaces. Everything else is done there by means of Qt itself. So some deep knowledge of C ++, which is used in other cpp programs, is not required there. You can write in a sish way, just linking the code to windows through cpp tools.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question