Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. [Solved]:QGIS API for linux
Forum Updated to NodeBB v4.3 + New Features

[Solved]:QGIS API for linux

Scheduled Pinned Locked Moved QML and Qt Quick
12 Posts 2 Posters 4.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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #2

    Hi,

    I don't have a RedHat system at hand but basically: you need to install the RedHat equivalent packages that are mentioned in the documentation then the build procedure should be pretty much the same.

    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
      suma
      wrote on last edited by
      #3

      Hello Sir,
      Thanks for the reply. But Im not getting the Redhat equivalent packages only. Means Im not getting whether the dependencies for ubantu is same as redhat or not??. Thanks sir, I ll start to find the related packages.

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

        Look at the listed packages, IIRC, there is for example the Qt 4 dev packages, so look in RedHat package manager for those. You'll have to repeat the step for each dependency mentionned

        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
          suma
          wrote on last edited by
          #5

          Solved: Successfully running QGIS in redhat 5 now.

          Thanks

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

            You welcome !

            Since it's all good, don't forget to update the thread's title to solved so other forum users may know that a solution has been found :)

            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
              suma
              wrote on last edited by
              #7

              Ya done it. But I have one more query regarding qgis. I have written the sample QGIS application(C++) to load the raster map. That I want to include in my Qt application. So I need an help, how to include Qgis libraries into the Qt and how to compile it.

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

                AFAIK, you can include it like any other 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
                • S Offline
                  S Offline
                  suma
                  wrote on last edited by
                  #9

                  but how to compile it.. QGis asks for cmake but Qt works with qmake.

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

                    AFAIK QGIS asks for cmake only to be compiled. To use it you have the choice.

                    cmake support to build Qt related projects has been done since a long time. Also QGIS uses Qt

                    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
                      suma
                      wrote on last edited by
                      #11

                      Hi SGaist,
                      Everything is done. QGIS is working fine with RHEL with Qt4.8. Im able to write and compile the QGIS sample application with QT. Now trying to implement same with my application. Thanks for your help.

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

                        You're welcome !

                        The easiest would be to start from a QGIS example and play with it until you have what you want

                        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

                        • Login

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