Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Error when compiling QtRpt in 32 bit MSVC2017?
Forum Updated to NodeBB v4.3 + New Features

Error when compiling QtRpt in 32 bit MSVC2017?

Scheduled Pinned Locked Moved Unsolved General and Desktop
17 Posts 4 Posters 1.2k Views 2 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.
  • SGaistS SGaist

    Which version of QtRpt ?

    MucipM Offline
    MucipM Offline
    Mucip
    wrote on last edited by Mucip
    #7

    @SGaist ,
    QtRpt 2.1.0 Newest one.
    I think problem comes from QtZint and it may not be appropriate with 32 bit?

    But in anycase I should compile it both 32 and 64bit?

    By the way system is Win10.

    Regards,
    Mucip:)

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

      QtZint ?

      By the way, did you check the binary package ? It might already provide what you need.

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

      MucipM 2 Replies Last reply
      1
      • SGaistS SGaist

        QtZint ?

        By the way, did you check the binary package ? It might already provide what you need.

        MucipM Offline
        MucipM Offline
        Mucip
        wrote on last edited by
        #9

        @SGaist ,
        I think I loose something but I dont know?

        As You said I put QtZint.dll from binary package to msvc2017/bin and msvc2017/lib directory.

        But still error:

        LINK : fatal error LNK1104: 'QtZint.lib' could not open!

        Where should I copy QtZint.dll?

        Regards,
        Mucip:)

        1 Reply Last reply
        0
        • SGaistS SGaist

          QtZint ?

          By the way, did you check the binary package ? It might already provide what you need.

          MucipM Offline
          MucipM Offline
          Mucip
          wrote on last edited by
          #10

          @SGaist ,
          No, I checked and couldn't find QtZint.lib for 32 bit unfortunatelly :(

          Regards,
          Mucip:)

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

            Is the code accessible somewhere ? If so, then build it first and then continue with the rest.

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

            MucipM 1 Reply Last reply
            1
            • SGaistS SGaist

              Is the code accessible somewhere ? If so, then build it first and then continue with the rest.

              MucipM Offline
              MucipM Offline
              Mucip
              wrote on last edited by
              #12

              @SGaist ,
              I think problem is in the newest version. Because I tested older one and worked well both in MSVC2017_64 and MSVC2017_32.

              I'm tring to find solution from QtRpt sourceforge forum page. :(

              Regards,
              Mucip:)

              1 Reply Last reply
              0
              • A Offline
                A Offline
                ahmed-yousri
                wrote on last edited by
                #13

                config.pri uncomment DEFINES += NO_BARCODE

                MucipM 2 Replies Last reply
                1
                • A ahmed-yousri

                  config.pri uncomment DEFINES += NO_BARCODE

                  MucipM Offline
                  MucipM Offline
                  Mucip
                  wrote on last edited by
                  #14

                  @ahmed-yousri ,
                  I think also it's need to be add

                  #include <QAction>
                  

                  in ScriptEditor.cpp
                  But still same error... :(
                  I copied old QtZint and other thinks from old version. But still linker error. :(

                  What is the problem of new QtRpt version?...

                  Regards,
                  Mucip:)

                  1 Reply Last reply
                  0
                  • A ahmed-yousri

                    config.pri uncomment DEFINES += NO_BARCODE

                    MucipM Offline
                    MucipM Offline
                    Mucip
                    wrote on last edited by
                    #15

                    @ahmed-yousri ,
                    By the way, I want to use barcode in my reports also.

                    Regards,
                    Mucip:)

                    1 Reply Last reply
                    0
                    • P Offline
                      P Offline
                      Park Chongwon
                      wrote on last edited by
                      #16

                      Re: Error when compiling QtRpt in 32 bit MSVC2017?

                      Hello. I had the same error and solved it. (msvc2017 x64)
                      I don't know much about it, but I will write down what I think has helped me solve it.

                      1. Put the QtRPT.dll and QtZint.dll in the path below
                        \ QtRptProject \ bin \ debug \ lib
                        \ QtRptProject \ bin \ release \ lib

                      2. Put libQtRPT.a and libQtZint.a in the path below
                        \ QtRptProject \ bin \ debug \ lib \ lib
                        \ QtRptProject \ bin \ release \ lib \ lib

                      3. Build the file in the path below
                          \ QtRptProject \ 3rdparty \ zint-2.4.4 \ Zint.pro
                        \ QtRptProject \ QtRPT \ QtRPT.pro
                          When built, QtRPT.lib and QtZint.lib are generated.

                      I hope it goes well.

                      MucipM 1 Reply Last reply
                      0
                      • P Park Chongwon

                        Re: Error when compiling QtRpt in 32 bit MSVC2017?

                        Hello. I had the same error and solved it. (msvc2017 x64)
                        I don't know much about it, but I will write down what I think has helped me solve it.

                        1. Put the QtRPT.dll and QtZint.dll in the path below
                          \ QtRptProject \ bin \ debug \ lib
                          \ QtRptProject \ bin \ release \ lib

                        2. Put libQtRPT.a and libQtZint.a in the path below
                          \ QtRptProject \ bin \ debug \ lib \ lib
                          \ QtRptProject \ bin \ release \ lib \ lib

                        3. Build the file in the path below
                            \ QtRptProject \ 3rdparty \ zint-2.4.4 \ Zint.pro
                          \ QtRptProject \ QtRPT \ QtRPT.pro
                            When built, QtRPT.lib and QtZint.lib are generated.

                        I hope it goes well.

                        MucipM Offline
                        MucipM Offline
                        Mucip
                        wrote on last edited by
                        #17

                        @Park-Chongwon ,
                        Unfortunatelly I couldn't solve it on MSVC2017 32bit. Then I immigrated to LimeReport and I am very happy now.

                        Regards,
                        Mucip:)

                        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