Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. [Solved]Missing QCameraInfo header
Forum Updated to NodeBB v4.3 + New Features

[Solved]Missing QCameraInfo header

Scheduled Pinned Locked Moved Installation and Deployment
3 Posts 2 Posters 2.8k 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.
  • M Offline
    M Offline
    mchen76
    wrote on last edited by
    #1

    I'm putting together a test program to check the camera info on mobile device. The build is giving an error that #include <QCameraInfo> can't be found. Indeed, in my /usr/include/qt5/QtMultimedia folder, there is no QCameraInfo header. The other multimedia headers seem to be there.

    I'm using Ubuntu 14.04 and the Ubuntu SDK.

    Is there anyway to update Qt to get the header or should I reinstall?

    1 Reply Last reply
    0
    • tomasz3dkT Offline
      tomasz3dkT Offline
      tomasz3dk
      wrote on last edited by
      #2

      Which Qt version do you have? QCameraInfo is in Qt since 5.3 version.

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mchen76
        wrote on last edited by
        #3

        @diabolic You're right, I don't have the right Qt version. I installed the Ubuntu SDK from the software center in late Dec 2014 and assumed that it came with 5.3. However, it actually comes with Qt 5.2.1. Removing the Ubuntu SDK in the software center doesn't get rid of Qt 5.2.1 though.

        $qmake --version
        QMake version 3.0
        Using Qt version 5.2.1 in /usr/lib/x86_64-linux-gnu

        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