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. A problem about using Qt on VS2013
Forum Updated to NodeBB v4.3 + New Features

A problem about using Qt on VS2013

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

    On VS2013, I can only add header file that ends with ".h". e.g. I can
    #include <qdebug.h>
    instead of
    #include <qDebug>

    What's the matter?

    JKSHJ 1 Reply Last reply
    0
    • MactarvishM Mactarvish

      On VS2013, I can only add header file that ends with ".h". e.g. I can
      #include <qdebug.h>
      instead of
      #include <qDebug>

      What's the matter?

      JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by
      #2

      Hi,

      @Mactarvish said:

      On VS2013, I can only add header file that ends with ".h". e.g. I can
      #include <qdebug.h>
      instead of
      #include <qDebug>

      What's the matter?

      It's #include <QDebug>, not <qDebug> (uppercase 'Q')

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      MactarvishM 1 Reply Last reply
      0
      • JKSHJ JKSH

        Hi,

        @Mactarvish said:

        On VS2013, I can only add header file that ends with ".h". e.g. I can
        #include <qdebug.h>
        instead of
        #include <qDebug>

        What's the matter?

        It's #include <QDebug>, not <qDebug> (uppercase 'Q')

        MactarvishM Offline
        MactarvishM Offline
        Mactarvish
        wrote on last edited by
        #3

        @JKSH But it still doesn't work after changing...

        1 Reply Last reply
        0
        • hskoglundH Offline
          hskoglundH Offline
          hskoglund
          wrote on last edited by
          #4

          Hi, if you try
          #include "qdebug.h"
          does it work the same as <qdebug.h>?

          MactarvishM 1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            Hi,

            What version of Qt ? Are you using the Qt AddIn ?

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            MactarvishM 1 Reply Last reply
            0
            • SGaistS SGaist

              Hi,

              What version of Qt ? Are you using the Qt AddIn ?

              MactarvishM Offline
              MactarvishM Offline
              Mactarvish
              wrote on last edited by
              #6

              @SGaist
              Hi,

              Qt 5.4 MSVC

              I'using the Qt AddIn.

              1 Reply Last reply
              0
              • hskoglundH hskoglund

                Hi, if you try
                #include "qdebug.h"
                does it work the same as <qdebug.h>?

                MactarvishM Offline
                MactarvishM Offline
                Mactarvish
                wrote on last edited by
                #7

                @hskoglund

                Yes.

                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