Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. #include problem in Visual Studio 2019
Forum Updated to NodeBB v4.3 + New Features

#include problem in Visual Studio 2019

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
3 Posts 2 Posters 352 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.
  • CJhaC Offline
    CJhaC Offline
    CJha
    wrote on last edited by
    #1

    Hi! I am new to Qt and Visual Studio. For example, what I am trying to do is:

    #include <QtCharts/QLineSeries>
    

    In Qt Creator it works fine and gives me suggestions for "QLineSeries" as well as "qlineseries.h" as soon as I type #include <QtCharts/QLine

    But in Visual Studio 2019 the only suggestion it gives me is "qlineseries.h". I know for Windows including either (QLineSeries or qlineseries.h) would work fine but not on other operating systems where the #include statement is case sensitive. My question is how can I make sure that it works similarly in Visual Studio as it does in Qt Creator?

    1 Reply Last reply
    0
    • Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      the header QLineSeriessimply includes qlineseries.h so it makes no difference.

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      CJhaC 1 Reply Last reply
      2
      • Christian EhrlicherC Christian Ehrlicher

        the header QLineSeriessimply includes qlineseries.h so it makes no difference.

        CJhaC Offline
        CJhaC Offline
        CJha
        wrote on last edited by
        #3

        @Christian-Ehrlicher Thanks!

        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