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. Unable to import QT Project into Visual Studio 2008/2010
QtWS25 Last Chance

Unable to import QT Project into Visual Studio 2008/2010

Scheduled Pinned Locked Moved Qt Creator and other tools
4 Posts 2 Posters 3.6k 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.
  • P Offline
    P Offline
    Psychoboy
    wrote on last edited by
    #1

    I installed the SDK for QT for Visual studios. I installed the plugin. I created a simple project in QT Creator with just a dialog.

    I then try and import the project into visual studios and get this issue:

    @--- (Import): Generating new project of test.pro file
    --- (qmake) : Using: \bin\qmake
    --- (qmake) : Working Directory: C:\test\test
    --- (qmake) : Arguments: -tp vc "test.pro" -o "test.vcxproj" QMAKE_INCDIR_QT=$(QTDIR)\include QMAKE_LIBDIR_QT= QMAKE_LIBDIR=$(QTDIR)\lib QMAKE_UIC=$(QTDIR)\bin\uic.exe QMAKE_MOC=$(QTDIR)\bin\moc.exe QMAKE_RCC=$(QTDIR)\bin\rcc.exe QMAKE_QMAKE=$(QTDIR)\bin\qmake.exe

    The system cannot find the file specified@

    I am importing it via the QT Menu > Open QT Project. in Qt Options the QT path is configured and such without any issues as far as I can tell.

    1 Reply Last reply
    0
    • W Offline
      W Offline
      WilliamU
      wrote on last edited by
      #2

      Hello.

      You make reference to the SDK so from that can we assume you are referring to the 4.7.2 sources or a similar version? And assuming you are using sources you have actually built the Qt environment from these sources?

      --
      Regards,

      William

      Regards,

      William

      1 Reply Last reply
      0
      • P Offline
        P Offline
        Psychoboy
        wrote on last edited by
        #3

        Correct, sorry I wasn't more clear on that. I am using 4.7.2 I downloaded the libraries specifically for visual studios. In the Qt options it has it selected there. I put in that ENV path variable. I configured the lookup locations for the libs, includes etc...

        I can open the visual studios command prompt and just run QMake just to make sure that actually runs. I haven't tried actually manually doing this yet though and just hardcoding the $(QTDIR) parameters. WHen you choose open a project from the QT menu that is what that output I posted is from (in the output window)

        1 Reply Last reply
        0
        • W Offline
          W Offline
          WilliamU
          wrote on last edited by
          #4

          Maybe I am pointing out the obvious but have you logged out (rebooted even) after setting your QTDIR env parameter? Also it may not do any harm to modify your paths to have a single \ even better is to change them for /.

          For what it's worth.

          --
          William

          Regards,

          William

          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