hmm cout << "hello world"; works but qDebug() << "hello world!"; gives me errors. error: invalid use of incomplete type 'struct QDebug' error: forward declaration of 'struct QDebug' warning: inline function 'QDebug qDebug()' used but never defined
Your videos are hard to find ! I wasted much of ma time then found out your tuts.It would be a lot better if your channel had been famous like thenewboston, anyways Subscribed....
04:42 Same thing; you get the QString #include “for free” because of other includes, but you’re not including it explicitely (nor including every header from core), which is bad practice
04:15 QT += core doesn’t “add” anything to a specific file; you still must #include anything you use, or the compiler will complain (and Creator won’t autocomplete, etc.). The list that pops up is of classes, objects, macros, functions etc. you got by #including QCoreApplication and QDebug, and it does NOT contain EVERYTHING available in the core module (an #include QtCore would do that). For instance, QAbstractItemModel is missing from that list.
very good!!
FrenchTutoCommunity 3 days ago
hello guys with qt version 2.4.0
after this tutorial i've also got 2 errors
how to fix them : close the console window, rebuild everything
should work
denit28s 1 month ago in playlist C++ Qt Programming
I could have sworn you said 'now we're just going to bitch shift out'. That is my new motto.
ArtyomLastLight 3 months ago
All the code in this tutorial gives me errors, and I'm not sure why.. any ideas?
InterFiction100 3 months ago
hmm cout << "hello world"; works but qDebug() << "hello world!"; gives me errors. error: invalid use of incomplete type 'struct QDebug' error: forward declaration of 'struct QDebug' warning: inline function 'QDebug qDebug()' used but never defined
InterFiction100 3 months ago
Nice tutorial!
MrAlexanderHoff 3 months ago
thanks a lot, it really helps me, kepp going!
GrigoriuNicolae 3 months ago
Thanks a lot!
Ericayoh 4 months ago
Brain you are awesome! Great tutorial!!!
YouEziz 7 months ago
Could you put the corrections in annotations so I don't have to keep track of the comment?
andrewyaoauatauabaea 7 months ago
Now if you use: qDebug() << "hello world";
You get :
hello world
but if you create the QString object, you get:
"hello world""
That is, the same but with quotation marks, why so?
pedropgusmao 7 months ago
Is qDebug() synonymous with cout?
SharingEqualsCaring 8 months ago
Your videos are hard to find ! I wasted much of ma time then found out your tuts.It would be a lot better if your channel had been famous like thenewboston, anyways Subscribed....
7337cod3r 8 months ago
am downloading....am expectant. i will keep in touch with you. its seems there is realy great stuff
manpikingillz 9 months ago
Helooooooooooooooooo HK!!!!!!!
hammadghulam 11 months ago
Errata (from offical Qt forums):
04:42 Same thing; you get the QString #include “for free” because of other includes, but you’re not including it explicitely (nor including every header from core), which is bad practice
VoidRealms 1 year ago
Errata (from offical Qt forums):
04:15 QT += core doesn’t “add” anything to a specific file; you still must #include anything you use, or the compiler will complain (and Creator won’t autocomplete, etc.). The list that pops up is of classes, objects, macros, functions etc. you got by #including QCoreApplication and QDebug, and it does NOT contain EVERYTHING available in the core module (an #include QtCore would do that). For instance, QAbstractItemModel is missing from that list.
VoidRealms 1 year ago
Errata (from offical Qt forums):
01:00 add a note about why the two inclusion header are different?
01:43 you’re not creating a QString, but using the QDebug::operator<<(const char *)
02:06 QtCore is not a framework but a module/library
03:20 same thing
03:43 TARGET isn’t the name of the project but the name of the executable to build
VoidRealms 1 year ago
i like your tutorial ,So plz upload a game tutorial for Symbian 3 OS .how i create a game in qt for symbian mobile phone...
ziagaggoo 1 year ago