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. QBS depends from qmake's *.pro library

QBS depends from qmake's *.pro library

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
15 Posts 3 Posters 4.1k 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.
  • D Offline
    D Offline
    Deerenaros
    wrote on last edited by Deerenaros
    #3

    Thank you, there is versions:

    >> c:\Qt\Tools\QtCreator\bin\qbs --version
    1.7.1
    
    >> c:\Qt\5.8\mingw53_32\bin\qmake --version
    QMake version 3.1
    Using Qt version 5.8.0 in C:/Qt/5.8/mingw53_32/lib
    

    And what qt-plugin must have to work properly with qbs system? Documentation is lack there.

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

      Sorry, I mean't the version of xlsx but anyway, thanks for the details about your installation.

      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
      • D Offline
        D Offline
        Deerenaros
        wrote on last edited by
        #5

        Oh. I just cloned master-branch. 0.3 i thougth.

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

          From the main repo or from one of the fork like the one of @VRonin which is more recent.

          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
          1
          • D Offline
            D Offline
            Deerenaros
            wrote on last edited by
            #7

            Oh, link is wrong. I mean @VRonin 's fork cause main repo had not built.

            1 Reply Last reply
            0
            • VRoninV Offline
              VRoninV Offline
              VRonin
              wrote on last edited by VRonin
              #8

              What compiler/OS are you using? How are you invoking the build?


              had wrotten with old build system

              qmake is not an "old build system" it's the system used to build Qt itself. QBS is an alternative but to be honest I'm not sure how popular it is. I'd say CMake is far more widely used than QBS as alternative

              "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
              ~Napoleon Bonaparte

              On a crusade to banish setIndexWidget() from the holy land of Qt

              D 1 Reply Last reply
              0
              • VRoninV VRonin

                What compiler/OS are you using? How are you invoking the build?


                had wrotten with old build system

                qmake is not an "old build system" it's the system used to build Qt itself. QBS is an alternative but to be honest I'm not sure how popular it is. I'd say CMake is far more widely used than QBS as alternative

                D Offline
                D Offline
                Deerenaros
                wrote on last edited by
                #9

                @VRonin Compiling with mingw 5.3 32bit, but i do not think that one is a decisive factor. Same with my Windows 7 SP1 64bit. Cause make (qmake is wrapper of make, like cmake) as well as qbs (not a wrapper) just call compiler to translate and link objects. Anyway, I want to know, how to friend libraries that had been built with qmake to project, that building with qbs. While qbs provide more consistent and portable way to say compiler where are libraries I want to use one. But documentation is lack, examples (mainly Qt itself) is too hard to understand. Of couse this time it could be done by inserting library into source tree but how about better way?

                1 Reply Last reply
                0
                • VRoninV Offline
                  VRoninV Offline
                  VRonin
                  wrote on last edited by
                  #10

                  Sorry, probably I misunderstood.

                  • did you build the QXlsx library successfully using qmake?
                  • did you run make install too?
                  • did you try linking in qbs as an external library rather than a qt module?

                  "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
                  ~Napoleon Bonaparte

                  On a crusade to banish setIndexWidget() from the holy land of Qt

                  D 1 Reply Last reply
                  0
                  • D Offline
                    D Offline
                    Deerenaros
                    wrote on last edited by
                    #11

                    Yep, library build successfully. Dll's are in Qt's directory, so make install run successfully too. And sorry, this is quite strange, but i do not know how to link external library in qbs.

                    1 Reply Last reply
                    0
                    • VRoninV VRonin

                      Sorry, probably I misunderstood.

                      • did you build the QXlsx library successfully using qmake?
                      • did you run make install too?
                      • did you try linking in qbs as an external library rather than a qt module?
                      D Offline
                      D Offline
                      Deerenaros
                      wrote on last edited by
                      #12

                      @VRonin problem still did not solved.

                      1 Reply Last reply
                      0
                      • VRoninV Offline
                        VRoninV Offline
                        VRonin
                        wrote on last edited by
                        #13

                        http://stackoverflow.com/questions/28395123/how-to-add-dll-to-qbs-project

                        "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
                        ~Napoleon Bonaparte

                        On a crusade to banish setIndexWidget() from the holy land of Qt

                        D 1 Reply Last reply
                        0
                        • VRoninV VRonin

                          http://stackoverflow.com/questions/28395123/how-to-add-dll-to-qbs-project

                          D Offline
                          D Offline
                          Deerenaros
                          wrote on last edited by
                          #14

                          @VRonin Hm... Thank you. But what about qbs' import? Is *pro projects сompatible with *qbs ones?

                          1 Reply Last reply
                          0
                          • D Offline
                            D Offline
                            Deerenaros
                            wrote on last edited by
                            #15

                            Ok. I could not solve this issue. As I see right now QBS totaly undocumented (though sources are accessible) and buggy. By the way Qt Xlsx licensed under MIT so I just use them by adding into my tree source. All is working properly and easy way to slightly edit one in order to fit my project is also pretty point.

                            Thank you any body who tried to help me.

                            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