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. How to create and compile a windows native application where I can still you QtLibraries?

How to create and compile a windows native application where I can still you QtLibraries?

Scheduled Pinned Locked Moved Unsolved General and Desktop
winapimsvc2017
3 Posts 2 Posters 508 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.
  • A Offline
    A Offline
    aarelovich
    wrote on 29 Aug 2019, 10:53 last edited by
    #1

    So here is the thing. I want to use Qt Creator to develop a Native Window application that uses DX3D.
    I'm starting by the example posted here:

    http://www.directxtutorial.com/Lesson.aspx?lessonid=11-4-2

    Now the reason that I want to do this in QtCreator (using the MSVC2017x64 Compiler) and not in MS Studio is because I have a LOT of helper classes (loggers, text parsers, control logic) that is already tested and working that uses stuff such as QString, QTextStream, QHashMap, etc. I want to be able to draw using D3D but, for all logic , file and control management use the classes I've already developed.

    I can create an empty project. Copy and Paste the code but my main problem is configuring the .pro file to actually find the headers and include the desired libraries.

    I would like help doing this. Does anyone have an example o how to build the native application using Qt?

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 29 Aug 2019, 11:14 last edited by mrjj
      #2

      Hi
      What do you mean by native?

      You can both use Qt and win32 api and
      DirectX with no issues.

      1 Reply Last reply
      2
      • A Offline
        A Offline
        aarelovich
        wrote on 29 Aug 2019, 11:37 last edited by
        #3

        Maybe I expressed myself incorrectly. By native I meant that uses the WinMain function as an entry point, for example. Something like the code in the link I've poste.

        But If you can provide some example code on HOW I can use Qt and the win32 APi and Direct X 11, I'd appreaciate it. I have not been able to find ANYTHING online.

        Just a simple open a window and draw a circle or something will do. I want to know how con configure the .pro so that it will find all the appropriate libraries and the code will compile.

        1 Reply Last reply
        0

        1/3

        29 Aug 2019, 10:53

        • Login

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