<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[cannot open file &#x27;qwindowsvistastyled.lib&#x27;]]></title><description><![CDATA[<p dir="auto">I compiled the Qt source 6.3.1 <code>static</code> with this options: <code>configure.bat -static -debug-and-release -platform win32-msvc -opensource -confirm-license -prefix "C:\Qt\Static"</code><br />
compiled with vs22.</p>
<p dir="auto">I'm testing creating a new <code>qtwidget</code> project, it doesn't contain 'anything'.</p>
<p dir="auto">When I compile the project as <code>Release</code> I get no error and the app execute ok, however, when I compile it as <code>Debug</code> I get this error:<br />
<code>cannot open file 'C:\Qt\Static\plugins\styles\qwindowsvistastyled.lib'</code></p>
<p dir="auto">I don't have <code>qwindowsvistastyleD.lib</code> in this folder I do have a <code>qwindowsvistastyle.lib</code><br />
<img src="https://ddgobkiprc33d.cloudfront.net/b8961708-f159-4dc3-b64d-e53bdffa7c8d.png" alt="devenv_2022-09-15_15-42-51.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">I'm missing something in the command line options when compiling the source?<br />
Should exist an "object-Debug" folder? does it fail to compile the <code>Debug</code> libs?</p>
]]></description><link>https://forum.qt.io/topic/139356/cannot-open-file-qwindowsvistastyled-lib</link><generator>RSS for Node</generator><lastBuildDate>Thu, 05 Nov 2026 08:03:11 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/139356.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 16 Sep 2022 07:29:15 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to cannot open file &#x27;qwindowsvistastyled.lib&#x27; on Fri, 16 Sep 2022 08:19:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/n34rt">@<bdi>n34rt</bdi></a><br />
The <code>d</code> suffix on library filename, before the <code>.lib</code>, is MSVC's way of specifying a debug verion of a library.  But you do not seem to have this, or not where you show.  Do you have that file anywhere else?  I do not know what you are supposed to make of it, but <a href="https://github.com/microsoft/vcpkg/issues/23481" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/microsoft/vcpkg/issues/23481</a> seems to report the same issue as you are having?</p>
<blockquote>
<p dir="auto">So there is no way to correctly make it work for both configurations using a single Qt Setup (qmake) in the Plugin. Only Release will work out of the box, Debug requires an additional setup.</p>
</blockquote>
]]></description><link>https://forum.qt.io/post/728947</link><guid isPermaLink="true">https://forum.qt.io/post/728947</guid><dc:creator><![CDATA[JonB]]></dc:creator><pubDate>Fri, 16 Sep 2022 08:19:03 GMT</pubDate></item></channel></rss>