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. QTCreator on Windows compiling MS Win libraries
Forum Updated to NodeBB v4.3 + New Features

QTCreator on Windows compiling MS Win libraries

Scheduled Pinned Locked Moved General and Desktop
4 Posts 3 Posters 2.1k 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.
  • V Offline
    V Offline
    vyau
    wrote on last edited by
    #1

    Hi

    I have been using QtCreator on Linux and I now have a need to compile Window code using QtCreator.
    Part of the code uses Window libraries such as <mscoree.h>.

    Is there a way to use Windows libraries from QtCreator on Windows? Do I need to install some packages from Microsoft?
    Sorry for this newbie question. I like QtCreator and have been doing Linux but first endeavor in windows.

    thanks

    -Vincent

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mlong
      wrote on last edited by
      #2

      As far as I know, there's no quick and easy solution to compiling Windows code on Linux. While Qt is generally cross-platform at a code level, creator is not geared for out-of-the-box cross compilation between platforms.

      I'm sure that if someone has set up the windows toolchain for cross compilation then they will speak up, but I'm afraid that it's not an easy task. If someone can prove me wrong, I'd be happy to have them do so.

      Software Engineer
      My views and opinions do not necessarily reflect those of anyone -- living or dead, real or fictional -- in this universe or any other similar multiverse node. Void where prohibited. Your mileage may vary. Caveat emptor.

      1 Reply Last reply
      0
      • B Offline
        B Offline
        bovilexic
        wrote on last edited by
        #3

        Apologies if this is a double post, but my browser seems to have become confused...

        With all due respect to mlong, I think Vincent is not asking about cross-compilation, but rather whether one can include headers and libs from Windows in a Qt Creator project. I can't imagine how that would not work, but of course you might expect problems if you tried to mix UI from MFC, say, with Qt... :-)

        While I much prefer Qt Creator to Visual Studio, I should point out that theres a Visual Studio "plugin-in" that allows for fairly easy use of Qt from within Visual Studio: http://qt.nokia.com/downloads/visual-studio-add-in .

        1 Reply Last reply
        0
        • M Offline
          M Offline
          mlong
          wrote on last edited by
          #4

          Ah, yes. I missed the part where he said QtCreator on Windows. My deepest apologies.

          Software Engineer
          My views and opinions do not necessarily reflect those of anyone -- living or dead, real or fictional -- in this universe or any other similar multiverse node. Void where prohibited. Your mileage may vary. Caveat emptor.

          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