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. QT project to Visual Studio 2010 include path missing
Forum Updated to NodeBB v4.3 + New Features

QT project to Visual Studio 2010 include path missing

Scheduled Pinned Locked Moved General and Desktop
4 Posts 4 Posters 4.0k 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.
  • G Offline
    G Offline
    gaminn
    wrote on last edited by
    #1

    Hello,
    I have a project created in QT (QT SDK v 1.2.0, QT libraries v. 4.8.0) and need to convert it to Visual Studio 2010 project (QT VS addin 1.1.10). I use QT -> Open Qt Project File (.pro) ... in VS for the conversion.

    The project can be built in QT creator, however it is not possible to build the converted project in VS because there is "./" include path missing. The .pro file contains the include path (INCLUDEPATH += ./), but during conversion, it is neglected. I need this include path, because ../../Library/MyFile.c includes ./Hardware.h header file.

    How to fix it?

    Of course, I can add "./" include path to VS project's include paths by hand. But that is not the solution I need :)

    Thanks

    Martin

    1 Reply Last reply
    0
    • K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      welcome to devnet
      There is already a "bug report filed on JIRA":https://bugreports.qt-project.org/browse/QTVSADDINBUG-108
      You may want to log into jira and vote on the issue getting it a higher priority.

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      0
      • F Offline
        F Offline
        Finnfalter
        wrote on last edited by
        #3

        Hey There,
        my problem seems to be very similar to that of gaminn:

        I try to compile QT 5.0.0 sources with Visual Studio (VS) 2010 in the command line of VS. The compiler is in lack of a header file which indeed exists. All efforts to include this header files, e.g. via
        @INCLUDEPATH += "C:/QTSources/qtwebkit/Source/ThirdParty/ANGLE/include"@
        in the .pro file failed so far. The missing path shows neither up in the generated Makefile nor in any of the compiler options - well, which are driven by the Makefile.

        For further details, see also my post in "here":http://stackoverflow.com/questions/13823253/missing-include-when-compiling-qt-with-visual-studio-2010#comment19030521_13823253

        1 Reply Last reply
        0
        • M Offline
          M Offline
          MrKilo
          wrote on last edited by
          #4

          Silmilar problems, none of the QT Creator created .pro files open with VS2010. Same with Qt 4.8.3 or 4.8.4 Creator 2.6.0 + vs-addin-1.1.11.. Please fix this, a big time waster globally if you look at all the similar reports all over the net.

          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