Qt #include<QException>
-
I am doing some Vision project, would like to display what camera get real time.
I could not use #include <QException>
It show me "NO such file or Directory"
Please help!
Thanks in advance. -
This is part of Qt Core. Hope you are able to create Simple project in Qt Creator and execute it. I have tried earlier and now as well. It works fine.
Which Qt version and OS installation you have ? -
Hi.
In my qtcore does not hv QException.
I am using qt4 on raspbian wheezyAppreciate your reply
-
Hi,
QException was introduced in Qt5 and since you are using Qt4 it will not be there. See "here":http://qt-project.org/doc/qt-5/qexception.html
-
I thought it could be used in qt also.
How sld I install qt5 or another to replace QException ? -
To use QExecption you need Qt5. To install Qt5 you can goto "Downloads":http://qt-project.org/downloads and download an installer as per your requirement.
-
Is thr any command that can direct upgrade or install . For e.g. apt-get install qtcreator ?
-
I overlooked that you are using Raspbian Wheezy. I'm afraid Raspberry Pi's repo's might have included Qt5 yet. So apt-get won't work. Also you need to upgrade the complete Qt libraries and not just QtCreator.
You will need to build Qt5 for Raspberry Pi yourself. -
I see. Thanks a lot.