Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. poppler with mingw64 on windows?
Forum Updated to NodeBB v4.3 + New Features

poppler with mingw64 on windows?

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
27 Posts 3 Posters 7.4k 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

    Hi,

    It should be the same as any other library. What is exactly your problem ?

    T Offline
    T Offline
    Tomax63
    wrote on last edited by
    #16

    @SGaist Could you help me by any chance?

    aha_1980A 1 Reply Last reply
    0
    • T Tomax63

      @SGaist Could you help me by any chance?

      aha_1980A Offline
      aha_1980A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on last edited by
      #17

      @Tomax63 Please give us some time to help you!

      People here help for free in their sparetime, and live in totally different time zones. Not everyone is using Windows, not everyone uses MinGW and not everyone CMake.

      Does this: https://stackoverflow.com/questions/4101456/running-cmake-on-windows bring you a step forward?

      Qt has to stay free or it will die.

      1 Reply Last reply
      0
      • T Offline
        T Offline
        Tomax63
        wrote on last edited by
        #18

        No problem, take your time all. I would just like to make it between christmas and new year

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

          Hi,

          Take a look at this stack overflow answer, the same applies to your case.

          Short version:
          You likely have something similar in the concerned CMakeLists.txt file:

          INSTALL(
            TARGETS poppler-qt5
            ARCHIVE DESTINATION lib # <-- A line like this is likely missing
            LIBRARY DESTINATION lib  
            COMPONENT library
          )
          

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

          1 Reply Last reply
          0
          • T Offline
            T Offline
            Tomax63
            wrote on last edited by
            #20

            This is in my file:

            install(TARGETS poppler-qt5 
            		RUNTIME DESTINATION bin 
            		LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} 
            		ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
            
            
            1 Reply Last reply
            0
            • T Offline
              T Offline
              Tomax63
              wrote on last edited by
              #21

              I think i really should stop trying - maybe one day I will find a compiled version.

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

                If it's the only thing that is giving trouble, just remove the ARCHIVE line and see if it behaves better.

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

                1 Reply Last reply
                0
                • T Offline
                  T Offline
                  Tomax63
                  wrote on last edited by
                  #23
                  D:\dl\Dateien\Entwicklung\CPP\PumPpro\src\build>mingw32-make .. -DCMAKE_CC_COMPILER=D:/Program Files/ingw-w64/x86_64-7.3.0-win32-seh-rt_v5-rev0/mingw64/bin/g++ -DCMAKE_CC_COMPILER=D:/Program Files/ingw-w64/x86_64-7.3.0-win32-seh-rt_v5-rev0/mingw64/bin/gcc
                  mingw32-make (pid = 38832)
                  mingw32-make is suspending for 30 seconds...done sleep(30). Continuing.
                  mingw32-make: *** MAKE_CC_COMPILER=D:/Program: Invalid argument.  Stop.
                  

                  Now with this variation of CMakeLists.txt:

                  install(TARGETS poppler-qt5 
                  		RUNTIME DESTINATION bin 
                  		LIBRARY DESTINATION lib)
                  
                  1 Reply Last reply
                  0
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on last edited by
                    #24

                    Is D:/Program Files/ingw-w64/ a valid path on your machine ?

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

                    1 Reply Last reply
                    0
                    • T Offline
                      T Offline
                      Tomax63
                      wrote on last edited by
                      #25

                      Sorry, fault while inserting here.

                      But I installed mingw anew in a shorter direcdtory tree and tried this:

                      D:\dl\Dateien\Entwicklung\CPP\PumPpro\src\build>mingw32-make .. -DCMAKE_CC_COMPILER=D:/dl/mingw/mingw64/bin/g++.exe -DCMAKE_CC_COMPILER=D:/dl/mingw/mingw64/bin/gcc.exe
                      mingw32-make (pid = 34784)
                      mingw32-make is suspending for 30 seconds...done sleep(30). Continuing.
                      mingw32-make: *** MAKE_CC_COMPILER=D:/dl/mingw/mingw64/bin/g++.exe: Invalid argument.  Stop.
                      

                      another try:

                      D:\dl\Dateien\Entwicklung\CPP\PumPpro\src\build>mingw32-make .. -DCMAKE_CC_COMPILER=D:\\dl\\mingw\\mingw64\\bin\\g++ -DCMAKE_CC_COMPILER=D:\\dl\\mingw\\mingw64\\bin\\gcc
                      mingw32-make (pid = 38848)
                      mingw32-make is suspending for 30 seconds...done sleep(30). Continuing.
                      mingw32-make: *** MAKE_CC_COMPILER=D:\\dl\\mingw\\mingw64\\bin\\g++: Invalid argument.  Stop.
                      
                      1 Reply Last reply
                      0
                      • SGaistS Offline
                        SGaistS Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on last edited by
                        #26

                        Why aren't you using the MinGW version provided with Qt ?
                        Also, but only curiosity, why did you switch from Visua Studio to MinGW compiler ?

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

                        1 Reply Last reply
                        0
                        • T Offline
                          T Offline
                          Tomax63
                          wrote on last edited by Tomax63
                          #27

                          I used the mingw from my first steps with Qt.

                          I dont know how to use the mingw within qt. I cant find the mingw32-make.

                          It only has a qmake.exe

                          Sorry - too many options, files and ways of doing it. I give up.

                          Thanks for your help anyway!

                          Thomas

                          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