Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Special Interest Groups
  3. C++ Gurus
  4. How do I compile my Qt Application for different systems?
Forum Updated to NodeBB v4.3 + New Features

How do I compile my Qt Application for different systems?

Scheduled Pinned Locked Moved C++ Gurus
6 Posts 3 Posters 3.2k 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.
  • M Offline
    M Offline
    maplesyrup23
    wrote on last edited by
    #1

    I've been using QExtSerialPort, and for some reason when I run and compile where I wrote the code (64 bit machine), it writes signals to the Arduino board. When I take the executable and its dependencies to another system, the signals are then not written to the Arduino board.

    I suspect it may be because the app is compiled in a 64 bit machine and not in a 32 bit machine. Has this occured to any one of you guys?

    Also, how do I compile it for a 32 bit computer?

    Thank you in advance.

    1 Reply Last reply
    0
    • K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      Hi,

      some details on OS, IDE and compiler would be helpful for specific advice. Otherwise we need a crystal ball ;-)

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      0
      • M Offline
        M Offline
        maplesyrup23
        wrote on last edited by
        #3

        I apologize. The OS is Windows, I am using the Qt Creator and it's using the Microsoft Visual C++ Compiler 10.0. Let me know if you require any further information.

        I wrote a bit more information about bringing up the error here: http://stackoverflow.com/questions/10723815/qt-qextserialport-unable-to-write-when-a-different-environment-is-used

        1 Reply Last reply
        0
        • K Offline
          K Offline
          koahnig
          wrote on last edited by
          #4

          AFAIK are the compilations using msvc compiler per default for 32 bit regardless of the operation system you are building on.
          What makes you believe that you compile as 64 bit?
          However, if I interpret your post correctly, you are able to start the application on 32 bit anyhow. So, it should be a 32 bit application then.
          You rule out a driver problem because you can use with C#.
          However, could it be a different driver?
          There is "another option for using serial devices":http://qt-project.org/forums/viewthread/16949/ with Qt.

          Vote the answer(s) that helped you to solve your issue(s)

          1 Reply Last reply
          0
          • M Offline
            M Offline
            maplesyrup23
            wrote on last edited by
            #5

            What do you mean by a different driver?

            1 Reply Last reply
            0
            • P Offline
              P Offline
              pushpendrak
              wrote on last edited by
              #6

              by Default with VC both compilers will get installed (or check out using VC setup) so you may setup the compiler x86, whether it is 32 bit or 64 bit OS machine. ie on 32 bit machine you can compile 64 bit app using VC x64 compiler, similarly on 32 bit you can compile x64 app,

              PushpendraK

              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