Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Unable to import QT Project into Visual Studio 2008/2010

    Tools
    2
    4
    3348
    Loading More Posts
    • 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
      Psychoboy last edited by

      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 Reply Quote 0
      • W
        WilliamU last edited by

        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 Reply Quote 0
        • P
          Psychoboy last edited by

          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 Reply Quote 0
          • W
            WilliamU last edited by

            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 Reply Quote 0
            • First post
              Last post