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. Compile options and preprocessor variables after completing conversion to Qt
Forum Updated to NodeBB v4.3 + New Features

Compile options and preprocessor variables after completing conversion to Qt

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 209 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.
  • P Offline
    P Offline
    Perdrix
    wrote on 30 Oct 2024, 09:45 last edited by
    #1

    The MFC project defined the following pre-processor variables.

    UNICODE; _UNICODE; WIN32;_WINDOWS

    Do I need any of those now I have completed my conversion to Qt?

    J 1 Reply Last reply 30 Oct 2024, 10:08
    0
    • P Perdrix
      30 Oct 2024, 09:45

      The MFC project defined the following pre-processor variables.

      UNICODE; _UNICODE; WIN32;_WINDOWS

      Do I need any of those now I have completed my conversion to Qt?

      J Offline
      J Offline
      JonB
      wrote on 30 Oct 2024, 10:08 last edited by
      #2

      @Perdrix
      Probably not, since Qt wraps all of this for you. However you should state clearly whether after your conversion you have left in any Windows code of your own, any #include of a Windows header file or any vestiges of MFC code yourself?

      1 Reply Last reply
      0
      • P Offline
        P Offline
        Perdrix
        wrote on 30 Oct 2024, 11:43 last edited by
        #3

        Thank you, that's set my mind at ease - all that stuff has been cleaned out with on small exception which is handled without needing those pre-processor settings.

        1 Reply Last reply
        0
        • P Perdrix referenced this topic on 1 Nov 2024, 10:03

        1/3

        30 Oct 2024, 09:45

        • 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