Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Learning
  3. Qt in Education
  4. hi gyes l have probleme whit add the libray xlnt for my project qqt

hi gyes l have probleme whit add the libray xlnt for my project qqt

Scheduled Pinned Locked Moved Unsolved Qt in Education
9 Posts 3 Posters 1.0k 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.
  • T Offline
    T Offline
    Teyeb23
    wrote on last edited by Chris Kawa
    #1

    Capture d’écran (7).png Capture d’écran (6).png

    JonBJ 1 Reply Last reply
    0
    • T Teyeb23

      Capture d’écran (7).png Capture d’écran (6).png

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #2

      @Teyeb23
      In the first screenshot you show ld complain it was not linked with xlnt library.

      But in the second screenshot you show g++ link succeeding the linking without error.

      I do not follow how you get both of these behaviours when compiling/linking the same code?

      T 1 Reply Last reply
      0
      • JonBJ JonB

        @Teyeb23
        In the first screenshot you show ld complain it was not linked with xlnt library.

        But in the second screenshot you show g++ link succeeding the linking without error.

        I do not follow how you get both of these behaviours when compiling/linking the same code?

        T Offline
        T Offline
        Teyeb23
        wrote on last edited by
        #3

        @JonB
        no sir I made the link after in scond picture and after I tried a code does not work
        So how solve this problem

        JonBJ 1 Reply Last reply
        0
        • T Teyeb23

          @JonB
          no sir I made the link after in scond picture and after I tried a code does not work
          So how solve this problem

          JonBJ Offline
          JonBJ Offline
          JonB
          wrote on last edited by
          #4

          @Teyeb23
          So what exactly is the problem? You show a screenshot with a link failure, then you show another link with success, so what is the point of the first screenshot?

          a code does not work

          This is not a description of a problem, if you want help.

          So how solve this problem

          If you don't explain what "this problem" is it's difficult to advise how to help....

          T 1 Reply Last reply
          0
          • JonBJ JonB

            @Teyeb23
            So what exactly is the problem? You show a screenshot with a link failure, then you show another link with success, so what is the point of the first screenshot?

            a code does not work

            This is not a description of a problem, if you want help.

            So how solve this problem

            If you don't explain what "this problem" is it's difficult to advise how to help....

            T Offline
            T Offline
            Teyeb23
            wrote on last edited by
            #5

            @JonB I want the method to add the libray xlnt exacet
            how to configure the file .pro
            help me for add the libray for my project

            T 1 Reply Last reply
            0
            • T Teyeb23

              @JonB I want the method to add the libray xlnt exacet
              how to configure the file .pro
              help me for add the libray for my project

              T Offline
              T Offline
              Teyeb23
              wrote on last edited by
              #6

              @Teyeb23 link succes befor testing the code . when i try the code link failure

              SGaistS 1 Reply Last reply
              0
              • T Teyeb23

                @Teyeb23 link succes befor testing the code . when i try the code link failure

                SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #7

                @Teyeb23 hi,

                Which code are you talking about ?
                What exact error do you get ?
                As @JonB wrote, on the second screen, the build has succeeded hence our question, describe your issue precisely.

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

                JonBJ 1 Reply Last reply
                0
                • SGaistS SGaist

                  @Teyeb23 hi,

                  Which code are you talking about ?
                  What exact error do you get ?
                  As @JonB wrote, on the second screen, the build has succeeded hence our question, describe your issue precisely.

                  JonBJ Offline
                  JonBJ Offline
                  JonB
                  wrote on last edited by JonB
                  #8

                  @SGaist
                  I think what the OP means is: the second screen shows .pro and successful link. Then per the first screen they add an xlnt variable and then it no longer links per the "undefined references".

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

                    @JonB then it might be an issue of not linking all the required libraries or a MinGW vs Visual Studio build of the dependency.

                    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