[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


File: qt.png (2 KB, 225x225)
2 KB
2 KB PNG
Qt has really caught my eye, though I'm only *learning C++*

Is Qt worth learning? And is the Qt Creator a good IDE for developing in C++ in general, or do the projects usually orient around Qt and QML because you are using their ide which is for that?
>>
>>107590569
Qt is a mess. Full of non standard C++ extensions that now compete with actual C++ features like lambdas.
Just how many APIs for making HTTP requests does it have? They all suck in different ways, with entirely different foot guns.

It's nice in that it produces fast applications that look native (or as custom as you want if you're into that) and don't take 100MBs of RAM just for displaying a Window, but you're paying for that with your sanity trying to maintain invisible QObject lifecycles.
>>
>>107590595
How about just using it as an IDE solely for C++?

I actually cannot finger out which (Free)IDE i should be using. VS Code doesn't sound right, I've heard people shit on Code::Blocks, Eclipse seems like a Java thing... Clions is paid sub.

A lot of people simply say Neovim but that's a ton of set up
>>
>>107590659
Can't you pirate Clion? It's the best I've used so far.
Visual Studio 2025 is also quite good now, they fixed many of the worst performance regressions of the last decade.
>>
>>107590659
if you're on windows visual studio is king. For linux i'd stick to code blocks.
>>
>>107590669
Linux, my bad.

So Qt Creator is a no as a general purpose C++ IDE?
>>
>>107590659
the IDE is fine its a good choice but its has some issues depending on how you install it. One way to find out just use it.
Also regarding qt yes its fine but you can feel how old it is by now. gtk usually breaks compatibility and therefore has a neat set of apis by now while qt has a lot of outdated things that should be removed and not be replaced by qml but a more modern widget fork.
Docs wise I always preferred qt over win32 I simply dislike reading ms stuff because its very very words while qt just gives you what you want. Doesn't matter much in the age of llm I guess. Qml is a piece of shit and very frustrating to learn.
>>
>>107590569
> Is Qt worth learning?
You need a very specific use case for Qt nowadays. I used it around 2011 to develop custom management system for companies. However, nowadays these kind of software are better suited for the web (SaaS) because they're easier to deploy, update and manage. I remember back in the days we had to literally drive to the company site, install the final program on their computers and do a quick demonstration. It was a mess.

The only scenario where I'd still use C++ and Qt is for developing embedded UIs (like for a machine, car, whatever) or for resource intensive applications that cannot run on a browser.

I highly recommend you to decide what you want to accomplish before diving into a potential time waste. Even on a resume, it isn't an huge selling point; I even stopped listing it on mine (and I was a C++ guy back in the days).
>>
>>107590956
Yes, yes. Using Linux Mint I realized I had the flatpak version installed. Going to delete that install it from the website that way I know where it's installed and can use the maintenance-tool. And learn as I go from the ground up.

I'm pretty direction-less when it comes to learning C++ alongside an IDE though. I'm playing around with Qt Creator, but i'll branch out and learn the other IDEs as I go. I still have a lot to uncover like makefiles and builds etc. New captcha sucks btw
>>
>>107591238
You mess around with web apps moreso nowadays? Makes sense everything pretty much as a browser counterpart nowadays
>>
>>107590664
Clion is free these days, has poor performance in my experience though
>>
>>107590569
I even bought Bjarne Stroustroup's book: "Programming Principles and Practice using C++"

I really just want to learn how to program and I hope the title is literal, as it states "USING c++, to learn programming principles"

Not necessarily expecting to deep dive and fully even grasp C++

But yeah in the book he tells you to find an IDE, that's where I'm at rn
>>
>>107590659
Dude tf are you talking abouy CLion is now free for noncuckmercial use?
I know because I'm using the free version (evropa)
>>
>>107591284
You'll have to use qt creator for a few chapters when he talks about GUIs
>>
>>107591257
No, I don't program professionally anymore (I do consulting). However, many projects originally built with Java/C#/C++(with Qt since it's multi platform) eventually were rebuilt using the SaaS model. Very few people uses C++ for programs without specific use case nowadays.
>>
>>107591316
nevermind just read the last line of your post
>>
File: clion_Freetardedition.png (64 KB, 1040x654)
64 KB
64 KB PNG
>>107591287
>>107590664

Literally is.
>>
>>107591284
>>107591238
Can I ask you why do you want to learn C++ ? Do you have any specific project in mind that requires it ? Because learning a language like C++ without a clear goal in mind is not a great idea. It's fine if you want to do learn it for fun but not so much if you want to do it hoping that it will magically give you a job
>>
>>107591316
>You'll have to use qt creator for a few chapters when he talks about GUIs
Doesn't he use FLTK in that book though?

Also I find it a very tedious book.
>>
>>107591525
3rd edition switched to QT
>>
QtCreator is great, very underrated. You can configure it to work with pretty much any compiler (not sure you can even do that in vscode yet?).
Learning the basics of Qt isn't hard, and you should definitely try the signals&slots and try to come up with a GUI program. Once you know how the S&S mechanisms work (it doesn't take long if you know any programming at all), you can decide if you want to pursue it further. QtCreator comes up with a lot of example projects on how to use the GUI libraries, so it's also an excellent learning resource on its own.
>>
>>107590569
Some parts of Qt can be problematic, but if you're not trying to do anything too complex, it may work fine.
>>
>>107590679
no, it is general purpose. you don't have to use qt, in fact, you can pretty freely change the compiler on project basis
>>
I just want to make code, but i only have 4gb of ram, i like Python, C and Javascript
>>
>>107591700
>3rd edition switched to QT
Huh, no shit.
>>
since no one mentioned codelite and kdevelop, they're also good and lightweight if you're on linux.
>>
>>107592439
>kdevelop
It crash.
>>
>>107590664
You can download it for free (non-commercial use only)
>>
>>107592539
it don't. but it's virtually abandoned. and surprisingly codelite isn't
>>
>i only have 4gb of ram
How?
>>
>>107591284
>Not necessarily expecting to deep dive and fully even grasp C++
at least you're keeping your expectations reasonable
>Life is too long to know C++ well. – Erik Naggum
>I may be biased, but I tend to find a much lower tendency among female programmers to be dishonest about their skills, and thus do not say they know C++ when they are smart enough to realize that that would be a lie for all but perhaps 5 people on this planet. – Erik Naggum
>>
>>107590595
>>107590595
>Full of non standard C++ extensions that now compete with actual C++ features like lambdas.
What part of Qt competes with lambdas? In my experience everything in Qt works really well with lambdas.
There are other areas where the framework doesn't play as nicely with modern C++ concepts (like move semantics) but overall it works fine.
>>
>>107591525
I also find it very tedious. I can't get his smug german voice out of my head as I read it. Feels like I'm being patronized, in german
>>
>Qt
>instead of just using a namespace qt:: they decided to prefix all their classes with Q but keep everything in the global namespace
>this is considered acceptable in sepplesland
>>
File: 1758202899051825.png (124 KB, 290x290)
124 KB
124 KB PNG
>>107590569



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.