tag:help.appveyor.com,2012-11-13:/discussions/questions/46639-qtmsbuildAppVeyor: Discussion 2020-02-20T13:43:58Ztag:help.appveyor.com,2012-11-13:Comment/480963382020-02-18T05:24:25Z2020-02-18T05:24:25ZQtMsBuild<div><p>Hi Patrick,</p>
<p>Is there something missing on AppVeyor VM to do that?</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/480963382020-02-18T07:26:13Z2020-02-18T07:26:14ZQtMsBuild<div><p>I have to define QtMsBuild in my environment in appveyor.yml and upload/extract those files manually into that folder.</p></div>Patrick Waldnertag:help.appveyor.com,2012-11-13:Comment/480963382020-02-20T13:43:57Z2020-02-20T13:43:57ZQtMsBuild<div><p>I had problems when defining QTDIR in appveyor.yml.<br>
It was set to the short default form "C:\Qt\5.14\msvc2017_64", which is usually just fine in our old project.</p>
<p>Problem 1:<br>
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.<br>
<a href="https://ci.appveyor.com/project/Megamouse/test/builds/30920377">https://ci.appveyor.com/project/Megamouse/test/builds/30920377</a><br>
I fixed this by using the full path: "C:\Qt\5.14.0\msvc2017_64"</p>
<p>Problem 2:<br>
I don't know where to find QtMsbuild on the appveyor image, so I commited it to my testproject for now.</p>
<p>Problem 3:<br>
Even though the project builds fine on my visual studio 2019 environment, it still won't build with appveyor:<br>
<a href="https://ci.appveyor.com/project/Megamouse/test/builds/30920474">https://ci.appveyor.com/project/Megamouse/test/builds/30920474</a></p>
<p>Link to my test Project:<br>
<a href="https://github.com/Megamouse/test">https://github.com/Megamouse/test</a></p>
<p>Maybe you can explain how to build that, or fix it on your end?</p></div>Patrick Waldner