Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for MCUs
  4. Show pdf

Show pdf

Scheduled Pinned Locked Moved Unsolved Qt for MCUs
11 Posts 4 Posters 1.4k 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
    Priyadharshini kumaravel
    wrote on 10 Feb 2021, 06:13 last edited by
    #1

    Qt MCU have support to show the pdf ?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      sierdzio
      Moderators
      wrote on 10 Feb 2021, 06:42 last edited by
      #2

      Qt has QtPdf module, you can check if it works on MCU. I don't know.

      (Z(:^

      P 2 Replies Last reply 10 Feb 2021, 06:44
      1
      • S sierdzio
        10 Feb 2021, 06:42

        Qt has QtPdf module, you can check if it works on MCU. I don't know.

        P Offline
        P Offline
        Priyadharshini kumaravel
        wrote on 10 Feb 2021, 06:44 last edited by
        #3

        @sierdzio thanks,let me try this module

        1 Reply Last reply
        0
        • S sierdzio
          10 Feb 2021, 06:42

          Qt has QtPdf module, you can check if it works on MCU. I don't know.

          P Offline
          P Offline
          Priyadharshini kumaravel
          wrote on 10 Feb 2021, 07:12 last edited by
          #4

          @sierdzio getting QML Module not found error while trying to import this module

          J 1 Reply Last reply 10 Feb 2021, 07:17
          0
          • P Priyadharshini kumaravel
            10 Feb 2021, 07:12

            @sierdzio getting QML Module not found error while trying to import this module

            J Offline
            J Offline
            J.Hilk
            Moderators
            wrote on 10 Feb 2021, 07:17 last edited by J.Hilk 2 Oct 2021, 07:18
            #5

            @Priyadharshini-kumaravel
            I'm afraid, you'll have to buy it separately
            https://marketplace.qt.io/products/qtpdf?_pos=1&_sid=c6144c590&_ss=r

            actually reading through the marketplace, seems to be also included in other licensing packages and is also available in LGPL and GPL.

            That seems new 🤔


            Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


            Q: What's that?
            A: It's blue light.
            Q: What does it do?
            A: It turns blue.

            P A 2 Replies Last reply 10 Feb 2021, 10:06
            2
            • J J.Hilk
              10 Feb 2021, 07:17

              @Priyadharshini-kumaravel
              I'm afraid, you'll have to buy it separately
              https://marketplace.qt.io/products/qtpdf?_pos=1&_sid=c6144c590&_ss=r

              actually reading through the marketplace, seems to be also included in other licensing packages and is also available in LGPL and GPL.

              That seems new 🤔

              P Offline
              P Offline
              Priyadharshini kumaravel
              wrote on 10 Feb 2021, 10:06 last edited by
              #6

              @J-Hilk Is there any other option to display the pdf?

              J A 2 Replies Last reply 10 Feb 2021, 10:34
              0
              • P Priyadharshini kumaravel
                10 Feb 2021, 10:06

                @J-Hilk Is there any other option to display the pdf?

                J Offline
                J Offline
                J.Hilk
                Moderators
                wrote on 10 Feb 2021, 10:34 last edited by
                #7

                @Priyadharshini-kumaravel take a look at the wiki entry
                https://wiki.qt.io/Handling_PDF
                it shows a couple of alternatives, for creating and displaying PDF's


                Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


                Q: What's that?
                A: It's blue light.
                Q: What does it do?
                A: It turns blue.

                1 Reply Last reply
                1
                • J J.Hilk
                  10 Feb 2021, 07:17

                  @Priyadharshini-kumaravel
                  I'm afraid, you'll have to buy it separately
                  https://marketplace.qt.io/products/qtpdf?_pos=1&_sid=c6144c590&_ss=r

                  actually reading through the marketplace, seems to be also included in other licensing packages and is also available in LGPL and GPL.

                  That seems new 🤔

                  A Offline
                  A Offline
                  artwaw
                  wrote on 10 Feb 2021, 13:02 last edited by
                  #8

                  @J-Hilk it is not. Never was despite what the docs say. Oh, the files are there but you'll always get "module not found" error. I used it by cloning the repo and compiling myself - then works just fine.

                  For more information please re-read.

                  Kind Regards,
                  Artur

                  1 Reply Last reply
                  0
                  • P Priyadharshini kumaravel
                    10 Feb 2021, 10:06

                    @J-Hilk Is there any other option to display the pdf?

                    A Offline
                    A Offline
                    artwaw
                    wrote on 10 Feb 2021, 13:04 last edited by
                    #9

                    @Priyadharshini-kumaravel Depending on the OS you run - if it is linux compat I can recommend Poppler library. I used it under Debian and Windows, works like a charm. Or you can go QtPdf way, just be aware it doesn't work with MinGW on Windows.

                    For more information please re-read.

                    Kind Regards,
                    Artur

                    P 1 Reply Last reply 11 Feb 2021, 05:59
                    0
                    • A artwaw
                      10 Feb 2021, 13:04

                      @Priyadharshini-kumaravel Depending on the OS you run - if it is linux compat I can recommend Poppler library. I used it under Debian and Windows, works like a charm. Or you can go QtPdf way, just be aware it doesn't work with MinGW on Windows.

                      P Offline
                      P Offline
                      Priyadharshini kumaravel
                      wrote on 11 Feb 2021, 05:59 last edited by
                      #10

                      @artwaw I am using Windows, and will it work for Qt MCUs?

                      A 1 Reply Last reply 11 Feb 2021, 09:44
                      0
                      • P Priyadharshini kumaravel
                        11 Feb 2021, 05:59

                        @artwaw I am using Windows, and will it work for Qt MCUs?

                        A Offline
                        A Offline
                        artwaw
                        wrote on 11 Feb 2021, 09:44 last edited by
                        #11

                        @Priyadharshini-kumaravel Both of them should work as both are c++. You just need to compile them for target platform as the rest of your code.

                        For more information please re-read.

                        Kind Regards,
                        Artur

                        1 Reply Last reply
                        0

                        4/11

                        10 Feb 2021, 07:12

                        topic:navigator.unread, 7
                        • Login

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