Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Language Bindings
  4. Sould we use stdafx.h in Qt Creator?

Sould we use stdafx.h in Qt Creator?

Scheduled Pinned Locked Moved Solved Language Bindings
3 Posts 2 Posters 764 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.
  • C Offline
    C Offline
    Chaymoss
    wrote on 4 Jan 2023, 11:26 last edited by
    #1

    Hello,
    I'm wondering if we should include stdafx.h in order to use IVI Driver. If no why?
    Thank you in advance.

    Best regards

    1 Reply Last reply
    0
    • C Offline
      C Offline
      Chris Kawa
      Lifetime Qt Champion
      wrote on 4 Jan 2023, 14:04 last edited by
      #2

      I don't know what an IVI Driver is, but stdafx.h is just a default name that Visual Studio gives to a precompiled header. Whether you use a precompiled header or not, whether you call it stdafx.h or something else and what are the contents of it is all up to you.

      Precompiled header is a feature that your compiler supports. It has nothing to do with Qt Creator or Qt. If you're using qmake this page describes how to configure it in your project: Using Precompiled Headers

      1 Reply Last reply
      1
      • C Offline
        C Offline
        Chaymoss
        wrote on 4 Jan 2023, 14:10 last edited by
        #3

        Thank you Chris Kawa for your explanation.
        It's all I need to know.

        1 Reply Last reply
        0

        2/3

        4 Jan 2023, 14:04

        • Login

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