Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt #include<QException>
Forum Updated to NodeBB v4.3 + New Features

Qt #include<QException>

Scheduled Pinned Locked Moved General and Desktop
9 Posts 3 Posters 3.9k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Y Offline
    Y Offline
    YDYD
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    • dheerendraD Offline
      dheerendraD Offline
      dheerendra
      Qt Champions 2022
      wrote on last edited by
      #2

      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 ?

      Dheerendra
      @Community Service
      Certified Qt Specialist
      http://www.pthinks.com

      1 Reply Last reply
      0
      • Y Offline
        Y Offline
        YDYD
        wrote on last edited by
        #3

        Hi.
        In my qtcore does not hv QException.
        I am using qt4 on raspbian wheezy

        Appreciate your reply

        1 Reply Last reply
        0
        • p3c0P Offline
          p3c0P Offline
          p3c0
          Moderators
          wrote on last edited by
          #4

          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

          157

          1 Reply Last reply
          0
          • Y Offline
            Y Offline
            YDYD
            wrote on last edited by
            #5

            I thought it could be used in qt also.
            How sld I install qt5 or another to replace QException ?

            1 Reply Last reply
            0
            • p3c0P Offline
              p3c0P Offline
              p3c0
              Moderators
              wrote on last edited by
              #6

              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.

              157

              1 Reply Last reply
              0
              • Y Offline
                Y Offline
                YDYD
                wrote on last edited by
                #7

                Is thr any command that can direct upgrade or install . For e.g. apt-get install qtcreator ?

                1 Reply Last reply
                0
                • p3c0P Offline
                  p3c0P Offline
                  p3c0
                  Moderators
                  wrote on last edited by
                  #8

                  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.

                  157

                  1 Reply Last reply
                  0
                  • Y Offline
                    Y Offline
                    YDYD
                    wrote on last edited by
                    #9

                    I see. Thanks a lot.

                    1 Reply Last reply
                    0

                    • Login

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Users
                    • Groups
                    • Search
                    • Get Qt Extensions
                    • Unsolved