QtMsBuild
Is it possible to build Qt projects with QtMsBuild on Appveyor?
This is what we use to compile it locally with Qt tools for Visual Studio.
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
Support Staff 1 Posted by Feodor Fitsner on 18 Feb, 2020 05:24 AM
Hi Patrick,
Is there something missing on AppVeyor VM to do that?
2 Posted by Patrick Waldner on 18 Feb, 2020 07:26 AM
I have to define QtMsBuild in my environment in appveyor.yml and upload/extract those files manually into that folder.
3 Posted by Patrick Waldner on 20 Feb, 2020 01:43 PM
I had problems when defining QTDIR in appveyor.yml.
It was set to the short default form "C:\Qt\5.14\msvc2017_64", which is usually just fine in our old project.
Problem 1:
When I create a new Qt GUI project in Visual Studio 2019 and try to build that one then the QTDIR (or DefaultQtDirectory) isn't properly resolved.
https://ci.appveyor.com/project/Megamouse/test/builds/30920377
I fixed this by using the full path: "C:\Qt\5.14.0\msvc2017_64"
Problem 2:
I don't know where to find QtMsbuild on the appveyor image, so I commited it to my testproject for now.
Problem 3:
Even though the project builds fine on my visual studio 2019 environment, it still won't build with appveyor:
https://ci.appveyor.com/project/Megamouse/test/builds/30920474
Link to my test Project:
https://github.com/Megamouse/test
Maybe you can explain how to build that, or fix it on your end?