xmaniox xmaniox 17.09.2014, 19:01:17 1 + Mirki, uczę się Qt i na tutorialach (https://www.youtube.com/watch?v=G3iMyvzwQew&list=PL2D1942A4688E9D63&index=9) tego Pana dołącza QtGui oraz QtCore i korzysta od razu z QLabel, QGridLayout itd... U mnie po dołączeniu tych bibliotek nie widzi tego wszystkiego. Co jest nie tak?#programowanie #qt
qubeq qubeq 17.09.2014, 19:04:09 0 + @xmaniox: I suppose, in QT5, some of the components have been shifted to widgets. We may have to add ‘QT += widgets’ in project (.pro) file, in case we have used QApplication or QFileDialogPokaż całość
xmaniox xmaniox 17.09.2014, 19:06:24 0 + pro file:QT += core guigreaterThan(QTMAJORVERSION, 4): QT +=Pokaż całość
xmaniox xmaniox 17.09.2014, 19:21:01 1 + @qubeq: Ok, po prostu teraz QLabel, QPushButton itd są w QtWidgets.
#programowanie #qt
We may have to add ‘QT += widgets’ in project (.pro) file, in case we have used QApplication or QFileDialog
QT += core gui
greaterThan(QTMAJORVERSION, 4): QT +=