Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Error::"videoWidget.h" doesn't include <QObject>
Forum Updated to NodeBB v4.3 + New Features

Error::"videoWidget.h" doesn't include <QObject>

Scheduled Pinned Locked Moved Mobile and Embedded
3 Posts 3 Posters 3.2k 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.
  • H Offline
    H Offline
    hisong1988
    wrote on last edited by
    #1

    Hi,everyone.
    I had install the QtMobility lib for my Qt.
    Then I test the project "audioInput" of the example that the Mobility brings.It work well.
    And I import the project "videoWidget",the problem appeared:Error::"videoWidget.h" doesn't include <QObject>.

    any suggestion? Thx

    I am still searching for....

    1 Reply Last reply
    0
    • N Offline
      N Offline
      ngrosjean
      wrote on last edited by
      #2

      Strange, because it's seem that videowidget.h include the line (http://qt.developpez.com/doc/4.7-snapshot/multimedia-videowidget-videowidget-h/) :

      @#include <QtGui/QWidget>@

      ...and the QWidget include QObject.

      So what do you mean by 'the problem appeared' : is it during compilation time?

      1 Reply Last reply
      0
      • D Offline
        D Offline
        DenisKormalev
        wrote on last edited by
        #3

        ngrosjean, please use @ tags around code.

        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