Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. Qt + GDAL Library
Forum Updated to NodeBB v4.3 + New Features

Qt + GDAL Library

Scheduled Pinned Locked Moved 3rd Party Software
7 Posts 6 Posters 12.1k Views 1 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.
  • A Offline
    A Offline
    anuj
    wrote on last edited by
    #1

    i want to connect gdal library with my qt project and use its function.. but i dont know how to add it plz help me ......
    i want to know all the steps to connect external library like gdal with Qt.... plz give a example if possible...
    thanx ..

    1 Reply Last reply
    0
    • J Offline
      J Offline
      jys0224
      wrote on last edited by
      #2

      in general,

      1. download library's binary, header file (if not found, have to build from lib source)

      2. place in some local folder.

      3. add in .pro file
        INCLUDEPATH += "/path_to_include"
        LIB += "-L/path_to_lib -lname_of_lib

      4. run qmake

      5. build project

      for more details, refer to
      "qmake reference":http://qt-project.org/doc/qt-5.0/qmake-reference.html

      1 Reply Last reply
      -1
      • S Offline
        S Offline
        sslizz
        wrote on last edited by
        #3

        Hello,

        I'm having the same problem,I can't I don't know how to add the Gdal library to Qt,can you give me more explanations?

        thnks

        1 Reply Last reply
        0
        • D Offline
          D Offline
          DFileccia
          wrote on last edited by
          #4

          Please see the other GDAL forum entry by sslizz.

          1 Reply Last reply
          0
          • S Offline
            S Offline
            stevewang
            wrote on last edited by
            #5

            Can you tell me how to build it from source code?
            Can I use QT Creator to build it?
            If not how?
            Thank you very much.

            [quote author="jys0224" date="1346865336"]in general,

            1. download library's binary, header file (if not found, have to build from lib source)

            2. place in some local folder.

            3. add in .pro file
              INCLUDEPATH += "/path_to_include"
              LIB += "-L/path_to_lib -lname_of_lib

            4. run qmake

            5. build project

            for more details, refer to
            "qmake reference":http://qt-project.org/doc/qt-5.0/qmake-reference.html[/quote]

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

              Hi,

              The GDAL site gives you the building guide "here":http://trac.osgeo.org/gdal/wiki/BuildHints

              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
              • S Offline
                S Offline
                stevewang
                wrote on last edited by
                #7

                Hi SGaist,

                I see. Thanks a lot

                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