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. Type error in qtqml.h when buidling Qt5GStreamer

Type error in qtqml.h when buidling Qt5GStreamer

Scheduled Pinned Locked Moved Solved Installation and Deployment
3 Posts 2 Posters 348 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.
  • C Offline
    C Offline
    ChellyP
    wrote on last edited by
    #1

    Hi,

    I am trying to build Qt5GStreamer from its source for cross compilation purpose.
    I have configuration done, but errors occur when trying to make it.

    error: expected constructor, destructor, or type conversion before ‘(’ token
    QT_DEPRECATED_VERSION_X_5_14("Use qmlRegisterAnonymousType instead") int qmlRegisterType()
    ...
    .../qt5/include/QtQml/qqml.h:593:46: error: expected constructor, destructor, or type conversion before ‘(’ token
    Q_QML_EXPORT QT_DEPRECATED_VERSION_X_5_14("Use qmlAttachedPropertiesObject(QObject *, QQmlAttachedPropertiesFunc, bool")
    ../qt5/include/QtQml/qqml.h:595:46: error: expected constructor, destructor, or type conversion before ‘(’ token
    Q_QML_EXPORT QT_DEPRECATED_VERSION_X_5_14("Use qmlAttachedPropertiesObject(QObject *, QQmlAttachedPropertiesFunc, bool")

    in QtQml/qtqml.h, QT_DEPRECATED_VERSION_X_5_14 has a type error.

    What can I do to solve the problem? I don't want to switch to a older version Qt.

    Thanks in advance.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      The QtGStreamer module is in unmaintained mode for quite some times. There are likely simpler options.

      Can you tell what you would like to do with it ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      C 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi and welcome to devnet,

        The QtGStreamer module is in unmaintained mode for quite some times. There are likely simpler options.

        Can you tell what you would like to do with it ?

        C Offline
        C Offline
        ChellyP
        wrote on last edited by
        #3

        @SGaist Thanks for response. I realized that QtGStreamer is out-of-date for a while, so I switched to another method and solve my problem.
        Anyway, thanks for your help.

        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