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. Visual Studio
Forum Updated to NodeBB v4.3 + New Features

Visual Studio

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 2.4k Views 2 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.
  • D Offline
    D Offline
    drewpotter
    wrote on last edited by drewpotter
    #1

    Hello,

    I am trying to convert my Qt Creator *.pro file into a Visual Studio project. I am running the command which is listed in the documentation:

    qmake -tp vc untitled2.pro "CONFIG+=windeployqt"

    but I keep getting the error:

    Unable to generate output for Makefile.Release [TEMPLATE vcapp]
    Unable to generate output for Makefile.Debug [TEMPLATE vcapp]

    I have tried to google this problem but have had no success.

    1 Reply Last reply
    0
    • sneubertS Offline
      sneubertS Offline
      sneubert
      wrote on last edited by
      #2

      You are using the wrong qmake (mingw).
      Try to use the qmake for msvc.
      From your post I guess your PATH includes something like
      ..\Qt\5.x\mingw...\bin
      try to change to
      ..\Qt\5.x\msvc..\bin or call qmake with this absolute path

      1 Reply Last reply
      0
      • D Offline
        D Offline
        drewpotter
        wrote on last edited by drewpotter
        #3

        Thanks. I have managed to get this working but now I have another problem.

        When compiling in Visual Studio I get the following error:

        1> Unable to locate ICU library icuin53.dll
        1>C:\Users\AP.local\Desktop\untitled2\untitled2.vcxproj(100,5): error MSB3073: The command "C:\Qt\5.4\msvc2013_64\bin\windeployqt.exe -qmldir C:\Users\AP.local\Desktop\untitled2 -list relative -dir "C:\Users\AP.local\Desktop\untitled2" "release\untitled2.exe" > "untitled2.windeployqt.x64.Release"" exited with code 1.
        ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

        1 Reply Last reply
        0
        • sneubertS Offline
          sneubertS Offline
          sneubert
          wrote on last edited by
          #4

          The deployment fails. It looks like visual studio can not locate the qt libraries. You can either add the path (..\Qt\5.x\msvc..\bin) to your msvc project or global to your PATH environment variable.

          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