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. Qt QZxing QtDeclarative on linux

Qt QZxing QtDeclarative on linux

Scheduled Pinned Locked Moved Mobile and Embedded
qtdeclarativeqzxinglinux
5 Posts 2 Posters 2.1k Views
  • 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.
  • PawlikP Offline
    PawlikP Offline
    Pawlik
    wrote on last edited by
    #1

    After i included the libraries and tried to compile them, came a build fail, because qt couldnt find qtdeclarative.
    Unknown modules in QT:declarative

    jsulmJ 1 Reply Last reply
    0
    • PawlikP Pawlik

      After i included the libraries and tried to compile them, came a build fail, because qt couldnt find qtdeclarative.
      Unknown modules in QT:declarative

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Pawlik You should provide more information: which Qt version, how did you install it, does your installation contain qtdeclarative?
      And your description is not clear: where did you include the library? Do you try to build this library from source or do you try to build your project and link it against this library?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • PawlikP Offline
        PawlikP Offline
        Pawlik
        wrote on last edited by
        #3

        Hey, its Qt 5.6 i downloaded it from qt page and installed, there is no qtdeclarative library in there. I included the libraries in my project and wrote include(QZXing/QZXing.pri) in my pro file

        1 Reply Last reply
        0
        • jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Documentation says (http://doc.qt.io/qt-5/qtquick-porting-qt5.html):
          "(The QtDeclarative module is still available to developers as the Qt Quick 1 module, as discussed below. However, it should not be used for new applications.)"

          It looks like the library you're trying to use is for Qt 4.8

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          PawlikP 1 Reply Last reply
          0
          • jsulmJ jsulm

            Documentation says (http://doc.qt.io/qt-5/qtquick-porting-qt5.html):
            "(The QtDeclarative module is still available to developers as the Qt Quick 1 module, as discussed below. However, it should not be used for new applications.)"

            It looks like the library you're trying to use is for Qt 4.8

            PawlikP Offline
            PawlikP Offline
            Pawlik
            wrote on last edited by
            #5

            @jsulm thanks it works already i just had to download newer version of zxing, not the one on their wiki page. Thank you for 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