Need help with building my VS2019 Qt 5.15.2 project

poqdavid's Avatar

poqdavid

20 Jun, 2023 02:54 PM

I am trying to build my project on appveyor but it keeps saying this

Microsoft (R) Build Engine version 16.11.2+f32259642 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.
  QtMsBuild: could not locate qt.targets, qt.props; project may not build correctly.
  AutoAwayMonitorThread.cpp
  ifunctions.cpp
C:\projects\autoaway\AutoAway\AutoAwayMonitorThread.cpp(3,10): fatal error C1083: Cannot open include file: 'QtCore/QDebug': No such file or directory [C:\projects\autoaway\AutoAway\AutoAway.vcxproj]
  SettingsDialog.cpp
C:\projects\autoaway\AutoAway\AutoAwayMonitorThread.h(5,10): fatal error C1083: Cannot open include file: 'QtCore/QThread': No such file or directory (compiling source file ifunctions.cpp) [C:\projects\autoaway\AutoAway\AutoAway.vcxproj]
C:\projects\autoaway\AutoAway\SettingsDialog.h(3,10): fatal error C1083: Cannot open include file: 'QtWidgets/QDialog': No such file or directory (compiling source file SettingsDialog.cpp) [C:\projects\autoaway\AutoAway\AutoAway.vcxproj]
  AutoAway.cpp
C:\projects\autoaway\AutoAway\AutoAwayMonitorThread.h(5,10): fatal error C1083: Cannot open include file: 'QtCore/QThread': No such file or directory (compiling source file AutoAway.cpp) [C:\projects\autoaway\AutoAway\AutoAway.vcxproj]

Here is my config
https://github.com/poqdavid/AutoAway/blob/master/appveyor.yml

Any idea how I can fix this?

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac