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
QtWS25 Last Chance

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 30 Jul 2023, 07:59 last edited by Chris Kawa
    #1

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

    J 1 Reply Last reply 30 Jul 2023, 08:24
    0
    • T Teyeb23
      30 Jul 2023, 07:59

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

      J Offline
      J Offline
      JonB
      wrote on 30 Jul 2023, 08:24 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 30 Jul 2023, 08:43
      0
      • J JonB
        30 Jul 2023, 08:24

        @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 30 Jul 2023, 08:43 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

        J 1 Reply Last reply 30 Jul 2023, 09:22
        0
        • T Teyeb23
          30 Jul 2023, 08:43

          @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

          J Offline
          J Offline
          JonB
          wrote on 30 Jul 2023, 09:22 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 30 Jul 2023, 09:41
          0
          • J JonB
            30 Jul 2023, 09:22

            @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 30 Jul 2023, 09:41 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 30 Jul 2023, 09:55
            0
            • T Teyeb23
              30 Jul 2023, 09:41

              @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 30 Jul 2023, 09:55 last edited by
              #6

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

              S 1 Reply Last reply 30 Jul 2023, 18:27
              0
              • T Teyeb23
                30 Jul 2023, 09:55

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

                S Offline
                S Offline
                SGaist
                Lifetime Qt Champion
                wrote on 30 Jul 2023, 18:27 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

                J 1 Reply Last reply 30 Jul 2023, 18:56
                0
                • S SGaist
                  30 Jul 2023, 18:27

                  @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.

                  J Offline
                  J Offline
                  JonB
                  wrote on 30 Jul 2023, 18:56 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
                  • S Offline
                    S Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on 31 Jul 2023, 10:10 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

                    4/9

                    30 Jul 2023, 09:22

                    • Login

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