Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Brainstorm
  4. 32 bit library to 64 bit library Qt
Forum Updated to NodeBB v4.3 + New Features

32 bit library to 64 bit library Qt

Scheduled Pinned Locked Moved Unsolved Brainstorm
7 Posts 3 Posters 2.8k 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.
  • HashTagJFH Offline
    HashTagJFH Offline
    HashTagJF
    wrote on last edited by
    #1

    So I am using qt 5.6 msvc2015_64bit version., the problem here is my 32 bit library doesn't work in this version. Is there anyone here who knows how to convert the 32 bit library to 64 bit library?
    Your help is much appreciated.
    Thank you.

    raven-worxR 1 Reply Last reply
    0
    • HashTagJFH HashTagJF

      So I am using qt 5.6 msvc2015_64bit version., the problem here is my 32 bit library doesn't work in this version. Is there anyone here who knows how to convert the 32 bit library to 64 bit library?
      Your help is much appreciated.
      Thank you.

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      @HashTagJF
      first of all you should say "what doesn't work" in order to get help.

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

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

        Hi,

        There's no "converting" a 32bit to a 64bit library. Those are different builds. All the more on Windows you also have to ensure that you are using the same compiler for all the dependencies of your application.

        So basically, if you only have access to a 32bit version of that library, you have to use a 32bit version of Qt also.

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

        HashTagJFH 1 Reply Last reply
        0
        • raven-worxR raven-worx

          @HashTagJF
          first of all you should say "what doesn't work" in order to get help.

          HashTagJFH Offline
          HashTagJFH Offline
          HashTagJF
          wrote on last edited by
          #4

          @raven-worx
          The error says "Cannot open file SerialPort.lib"
          I check the library and my library is in 32 bit. My friend told me that I have to make this "SerialPort.lib" into 64 bit library. But I dunno how to do that. I'm noob when it comes to this library..

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

            If It can't open it it's likely that it can't find it.

            Then ask your friend where the sources of that library are so you can rebuilt it.

            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
            • SGaistS SGaist

              Hi,

              There's no "converting" a 32bit to a 64bit library. Those are different builds. All the more on Windows you also have to ensure that you are using the same compiler for all the dependencies of your application.

              So basically, if you only have access to a 32bit version of that library, you have to use a 32bit version of Qt also.

              HashTagJFH Offline
              HashTagJFH Offline
              HashTagJF
              wrote on last edited by
              #6

              It is in the same folder where my project is.

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

                Do you mean that the sources of SerialPort are part of your own project ?

                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