A
A
Aleks19892017-08-06 19:14:06
Qt
Aleks1989, 2017-08-06 19:14:06

Qt(C++) on windows XP?

Good afternoon everyone. Today I watched my editor by video tutorial. And such a thing: a video tutorial for OS Linux. I have windows xp SP3. QTCreator editor. And in general the first lesson is the banal "Creating a new project". I created it. I chose the Disktop kit. Under it is the Mingw compiler. The build system was specified by qbs. There were 2 more qmake and cmake, but they did not work for various reasons. That is, I did not create a project for them. it turned out to create only on qbs.
Question: If I knew everything and would write a program. Next, I would click create: would the editor compile it on the parameters I specified at the beginning?
I ask because I chose the right functions at the beginning so that there are no errors and the created program works? And in general, will he create it or will there be any problems?
Another question: If I find video tutorials on C ++ but for windows 8 or even 10, will they fit on windows XP SP3?
In the lesson, the guy mentioned the book "Object-Oriented Programming in C++" by Robert Laforet. He called it "the gospel of the programmer". Is it good for learning C++?
It’s just that it’s very long and I don’t have much time and I don’t want to waste it in vain. Will it help you learn C++?
Sincerely, Alexander.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
S
SovRedBit, 2017-08-06
@SovRedBit

If you are learning C++ from scratch, then it is advisable to start with it, and then read a little book by the creator of the language, and then modern C++. I haven’t coded on the Pros for a long time, but I can say unequivocally that if you have a weak computer, then for example CodeBlocks if the performance is normal, then for example Visual Studio, and since you have a piggy, then you should install VS2010 from this, most likely this is the last version that supports xp.
And it would be better if you describe for what reasons you failed to start cmake.
And Video tutorials can be used of course, the main thing is that the compiler supports these C ++ features

D
dummyman, 2017-08-06
@dummyman

The answer to your question is yes. If you write in C++ without platform-specific dependencies, you will have no problems porting software to any platform. The proof will be a link to the page of a Japanese colleague , the author of one of the most popular comic / anime editors - AzPainter. Apparently, the author works with Visual C++ 6.0 on Windows XP. But his creations run easily on the latest versions of Linux and MacOS. Source codes are open. True, in order to understand them, knowing Japanese will not be superfluous!

D
devalone, 2017-08-06
@devalone

You should not learn from video tutorials, they are mostly shitty and at best provide superficial knowledge.
There is no C ++ for windows 8 or 10, C ++ is cross-platform, only the systems API differs, on Linux it is one on windows another, in Qt wrappers are made over this API, which allows you to write one code for all systems.
Personally, I read Prat, but this one is also recommended as a good one.
Then don't learn C++, take C#, Java, Python, or any other less problematic language instead.

M
Mercury13, 2017-08-07
@Mercury13

C++ and Qt are made cross-platform, that is, they hide the difference between platforms somewhere inside.
Compilers stop supporting one OS or another last. The processor remains the same - well, the norm. I think compiled MinGW (without Qt) will even run on 98.
So there will be no difference if all our software runs on the host OS and all our libraries run on the target OS. But with support, the trouble is, version 5.6 is declared the last one, which officially supports XP as a host, and 5.7 - XP as a target. Does it still work? That's great!
Yes. Since there are three build systems in Qt, questions may arise when you need to edit the pro file with your hands. Most tutorials assume QMake. I stick with it because I never figured out how QBS works with multi-core processors. Two hundred files in the project - you understand.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question