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. Building VC ++ project with Qt via MsBuild as system user
Forum Updated to NodeBB v4.3 + New Features

Building VC ++ project with Qt via MsBuild as system user

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 350 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.
  • KulisekK Offline
    KulisekK Offline
    Kulisek
    wrote on last edited by
    #1

    Hi,

    i have a problem to build new Qt projects (https://www.qt.io/blog/2018/01/24/qt-visual-studio-new-approach-based-msbuild), via MsBuild utility, when it runs under system user. It returns error:

    D:\Work\Wecko\QtMsBuild\qt_vars.targets(68,5): error : There's no Qt version assigned to project _project_server_base.vcxproj for configuration Release/x64. [D:\WORK\Wecko\Projects\Comms_project_server_base_project_server_base.vcxproj]
    D:\Work\Wecko\QtMsBuild\qt_vars.targets(68,5): error : Please set a Qt installation in 'Project|Properties|Configuration Properties|Qt Project Settings|Qt Installation'. [D:\WORK\Wecko\Projects\Comms_project_server_base_project_server_base.vcxproj]

    This variable is set up in project, as alias: Qt5.14.2_2017_64

    Visual studio: 2017
    Qt 5.14.2
    %QTDIR% - is setted up as env. variable for system
    %QtMsBuild% - is setted up as env. variable for system, outside of user folder, and can be seen
    Qt binaries are added to system %PATH% env variable as %QTDIR%\bin

    The with Qt assigned the old way, are building fine...

    Whenever i have cmd line as standard user, it works fine, even the new way Qt projects.

    Thanks for any ideas,
    Martin

    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