Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. I'm getting sick of my compiler...
Forum Updated to NodeBB v4.3 + New Features

I'm getting sick of my compiler...

Scheduled Pinned Locked Moved Solved General and Desktop
30 Posts 3 Posters 3.5k Views 2 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.
  • mrjjM mrjj

    @FluentCoding
    yes, normally it ask you to do that when no .user file.
    but yes, select a compiler. a Desktop one.

    FluentCodingF Offline
    FluentCodingF Offline
    FluentCoding
    wrote on last edited by
    #12

    @mrjj should i only copy the three files or just download the whole git repo like you did?

    mrjjM 1 Reply Last reply
    0
    • FluentCodingF FluentCoding

      @mrjj should i only copy the three files or just download the whole git repo like you did?

      mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by mrjj
      #13

      @FluentCoding
      Hi
      there are only those files so that should not matter.
      if my sample can work , yours should too :=)
      Still same compiler , yes ?

      FluentCodingF 1 Reply Last reply
      0
      • mrjjM mrjj

        @FluentCoding
        Hi
        there are only those files so that should not matter.
        if my sample can work , yours should too :=)
        Still same compiler , yes ?

        FluentCodingF Offline
        FluentCodingF Offline
        FluentCoding
        wrote on last edited by
        #14

        @mrjj Ya, think so. Do I have to use these deployment rules btw?

        qnx: target.path = /tmp/$${TARGET}/bin
        else: unix:!android: target.path = /opt/$${TARGET}/bin
        !isEmpty(target.path): INSTALLS += target
        

        I don't have it in my .pro.

        1 Reply Last reply
        0
        • FluentCodingF Offline
          FluentCodingF Offline
          FluentCoding
          wrote on last edited by
          #15

          Nvm that didn't help. Weird...

          mrjjM 1 Reply Last reply
          0
          • FluentCodingF FluentCoding

            Nvm that didn't help. Weird...

            mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by
            #16

            @FluentCoding

            Hi
            Those are generated by Qt but not use as such for this example.

            What compiler are you using ?

            anyway, try a clean GUI project you generate with the wizard.
            then add those 3 files to it and see.

            FluentCodingF 1 Reply Last reply
            0
            • FluentCodingF Offline
              FluentCodingF Offline
              FluentCoding
              wrote on last edited by
              #17

              That's the weirdest problem I ever ran into. I'm using the same compiler in both my and the sample project - my .pro is literally the same - and I've imported the library exactly like in the sample project. But I still get these "Undefined Reference" errors. I'm totally confused. Can someone help me?

              mrjjM 1 Reply Last reply
              0
              • mrjjM mrjj

                @FluentCoding

                Hi
                Those are generated by Qt but not use as such for this example.

                What compiler are you using ?

                anyway, try a clean GUI project you generate with the wizard.
                then add those 3 files to it and see.

                FluentCodingF Offline
                FluentCodingF Offline
                FluentCoding
                wrote on last edited by FluentCoding
                #18

                @mrjj `The same in both projects: MinGW 64-bit. Even same path - all equal.

                anyway, try a clean GUI project you generate with the wizard.
                then add those 3 files to it and see.
                

                I don't think that I have to do this tbh when the sample project works :/

                1 Reply Last reply
                0
                • FluentCodingF FluentCoding

                  That's the weirdest problem I ever ran into. I'm using the same compiler in both my and the sample project - my .pro is literally the same - and I've imported the library exactly like in the sample project. But I still get these "Undefined Reference" errors. I'm totally confused. Can someone help me?

                  mrjjM Offline
                  mrjjM Offline
                  mrjj
                  Lifetime Qt Champion
                  wrote on last edited by
                  #19

                  @FluentCoding
                  Hi
                  That sounds almost impossible as only way would to not include the .c file. o.O
                  There is no lib or anything. just 3 files.

                  Im out of ideas. your Qt is not broken since my sample works so
                  im not sure how on earth it can fail to compile those files.

                  FluentCodingF 1 Reply Last reply
                  0
                  • FluentCodingF Offline
                    FluentCodingF Offline
                    FluentCoding
                    wrote on last edited by FluentCoding
                    #20

                    Yeah, thats totally weird. Maybe a bug or something similar, dunno :( Maybe this bug is the reason why no library could have been imported. I'll rebuild it.

                    1 Reply Last reply
                    0
                    • mrjjM mrjj

                      @FluentCoding
                      Hi
                      That sounds almost impossible as only way would to not include the .c file. o.O
                      There is no lib or anything. just 3 files.

                      Im out of ideas. your Qt is not broken since my sample works so
                      im not sure how on earth it can fail to compile those files.

                      FluentCodingF Offline
                      FluentCodingF Offline
                      FluentCoding
                      wrote on last edited by
                      #21

                      @mrjj Fvck yes, it works! I just had to rebuild it.

                      mrjjM 1 Reply Last reply
                      0
                      • FluentCodingF FluentCoding

                        @mrjj Fvck yes, it works! I just had to rebuild it.

                        mrjjM Offline
                        mrjjM Offline
                        mrjj
                        Lifetime Qt Champion
                        wrote on last edited by
                        #22

                        @FluentCoding

                        hehe ok now it makes sense :)

                        happy zipping :)

                        FluentCodingF 2 Replies Last reply
                        0
                        • mrjjM mrjj

                          @FluentCoding

                          hehe ok now it makes sense :)

                          happy zipping :)

                          FluentCodingF Offline
                          FluentCodingF Offline
                          FluentCoding
                          wrote on last edited by
                          #23

                          @mrjj ty

                          1 Reply Last reply
                          0
                          • mrjjM mrjj

                            @FluentCoding

                            hehe ok now it makes sense :)

                            happy zipping :)

                            FluentCodingF Offline
                            FluentCodingF Offline
                            FluentCoding
                            wrote on last edited by FluentCoding
                            #24

                            @mrjj noo, and im now getting a tls initialization failure :(((((

                            mrjjM 1 Reply Last reply
                            0
                            • FluentCodingF FluentCoding

                              @mrjj noo, and im now getting a tls initialization failure :(((((

                              mrjjM Offline
                              mrjjM Offline
                              mrjj
                              Lifetime Qt Champion
                              wrote on last edited by
                              #25

                              @FluentCoding

                              that is not related to kuda zip :)
                              Maybe you copied some SLL dlls to build folder and cleaning it deleted them?

                              1 Reply Last reply
                              0
                              • FluentCodingF Offline
                                FluentCodingF Offline
                                FluentCoding
                                wrote on last edited by FluentCoding
                                #26

                                Don't think so. Iirc i just installed OpenSLL globally. And yeah, ik its not related to it, sry for the mention. Have a good night!

                                mrjjM 1 Reply Last reply
                                0
                                • FluentCodingF FluentCoding

                                  Don't think so. Iirc i just installed OpenSLL globally. And yeah, ik its not related to it, sry for the mention. Have a good night!

                                  mrjjM Offline
                                  mrjjM Offline
                                  mrjj
                                  Lifetime Qt Champion
                                  wrote on last edited by
                                  #27

                                  @FluentCoding
                                  well i cross fingers you get to code soon and not fighting the compiler.
                                  Maybe you deleted something from pro file while testing ?
                                  I assume you are not using GIT so you could just ask it what has been changed ?

                                  FluentCodingF 1 Reply Last reply
                                  0
                                  • mrjjM mrjj

                                    @FluentCoding
                                    well i cross fingers you get to code soon and not fighting the compiler.
                                    Maybe you deleted something from pro file while testing ?
                                    I assume you are not using GIT so you could just ask it what has been changed ?

                                    FluentCodingF Offline
                                    FluentCodingF Offline
                                    FluentCoding
                                    wrote on last edited by
                                    #28

                                    @mrjj Yeah maybe. I guess that I'll first check the maintenance tool again for OpenSSL. But big thanks for your help besides all that. And ya, I'll get to code soon in best case :D

                                    mrjjM 1 Reply Last reply
                                    0
                                    • FluentCodingF FluentCoding

                                      @mrjj Yeah maybe. I guess that I'll first check the maintenance tool again for OpenSSL. But big thanks for your help besides all that. And ya, I'll get to code soon in best case :D

                                      mrjjM Offline
                                      mrjjM Offline
                                      mrjj
                                      Lifetime Qt Champion
                                      wrote on last edited by
                                      #29

                                      @FluentCoding

                                      shh you might jix it but yeah best case. :)

                                      You are welcome. I hope kuba zip will be enough for your needs.

                                      FluentCodingF 1 Reply Last reply
                                      0
                                      • mrjjM mrjj

                                        @FluentCoding

                                        shh you might jix it but yeah best case. :)

                                        You are welcome. I hope kuba zip will be enough for your needs.

                                        FluentCodingF Offline
                                        FluentCodingF Offline
                                        FluentCoding
                                        wrote on last edited by
                                        #30

                                        @mrjj Yo, btw I fixed it. I just changed the kit to x64 and forgot to add the openssl x64 path. good night u all

                                        1 Reply Last reply
                                        1

                                        • Login

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