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
QtWS25 Last Chance

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.
  • P Offline
    P Offline
    Pawlik
    wrote on 7 Apr 2016, 13:35 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

    J 1 Reply Last reply 7 Apr 2016, 13:50
    0
    • P Pawlik
      7 Apr 2016, 13:35

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

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 7 Apr 2016, 13:50 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
      • P Offline
        P Offline
        Pawlik
        wrote on 7 Apr 2016, 14:38 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
        • J Offline
          J Offline
          jsulm
          Lifetime Qt Champion
          wrote on 8 Apr 2016, 04:37 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

          P 1 Reply Last reply 8 Apr 2016, 09:33
          0
          • J jsulm
            8 Apr 2016, 04:37

            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

            P Offline
            P Offline
            Pawlik
            wrote on 8 Apr 2016, 09:33 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

            2/5

            7 Apr 2016, 13:50

            • Login

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