<?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[Compile output error. Missing library?]]></title><description><![CDATA[<p dir="auto">Hi everyone,</p>
<p dir="auto">I am creating my first program and I have had some success just until now. When I simulate my program using release, it gives me the following error:</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/error">@<bdi>Error</bdi></a> loading "qmfstoragemanagerd.dll" with errorString() "The plugin 'C:/QtSDK/Simulator/Qt/mingw/plugins/contentmanagers/qmfstoragemanagerd.dll' uses incompatible Qt library. Expected build key "Windows mingw release full-config", got "Windows mingw debug full-config""<br />
QSqlDatabasePrivate::removeDatabase: connection 'qt_sql_default_connection' is still in use, all queries will cease to work.@</p>
<p dir="auto">It will then freeze when I call saveData() under the popupinput class. I do not know if it is my code or my QT creator as I have only installed the basic QT SDK.</p>
<p dir="auto">Heres my code for the popupinput class:</p>
<p dir="auto">header:<br />
@#ifndef POPUPINPUT_H<br />
#define POPUPINPUT_H<br />
#include &lt;QDialog&gt;<br />
#include &lt;QLabel&gt;<br />
#include &lt;QFormLayout&gt;<br />
#include &lt;QGridLayout&gt;<br />
#include &lt;QPushButton&gt;<br />
#include &lt;QLineEdit&gt;<br />
#include &lt;QFile&gt;</p>
<p dir="auto">class PopupInput: public QDialog<br />
{<br />
Q_OBJECT</p>
<p dir="auto">public:<br />
PopupInput(QWidget *parent = 0);</p>
<p dir="auto">public slots:<br />
void saveData();</p>
<p dir="auto">private:<br />
QPushButton *save;<br />
QPushButton *cancel;<br />
QString station;<br />
QString bus;<br />
QString busStopNumber;<br />
QLineEdit *stationEdit;<br />
QLineEdit *busEdit;<br />
QLineEdit *busStopNumberEdit;</p>
<p dir="auto">};<br />
#endif<br />
@</p>
<p dir="auto">cpp:</p>
<p dir="auto">@#include &lt;QtGui&gt;<br />
#include "popupinput.h"<br />
#include &lt;QDebug&gt;<br />
#include &lt;QMessageBox&gt;<br />
PopupInput::PopupInput(QWidget *parent)<br />
:QDialog(parent)<br />
{<br />
QLabel *busLabel= new QLabel(tr("Bus:"));<br />
QLabel *stationLabel= new QLabel(tr("Station:"));<br />
QLabel *busStopNumberLabel= new QLabel(tr("Bus Stop Number:"));</p>
<pre><code>save=new QPushButton(tr("&amp;Save"));
cancel=new QPushButton(tr("&amp;Cancel"));

bus="";
station="";
busStopNumber="";

busEdit=new QLineEdit;
stationEdit=new QLineEdit;
busStopNumberEdit=new QLineEdit;

QFormLayout *layout = new QFormLayout;

layout-&gt;addRow(busLabel, busEdit);
layout-&gt;addRow(stationLabel,stationEdit);
layout-&gt;addRow(busStopNumberLabel, busStopNumberEdit);

QGridLayout *grid= new QGridLayout;
grid-&gt;addWidget(cancel,1,0,Qt::AlignRight);
grid-&gt;addWidget(save,0,0,Qt::AlignRight);
layout-&gt;addRow(grid);
setLayout(layout);
connect(save, SIGNAL(clicked()), this, SLOT(saveData()));
connect(save, SIGNAL(clicked()), this, SLOT(accept()));
connect(cancel, SIGNAL(clicked()), this, SLOT(accept()));
</code></pre>
<p dir="auto">}</p>
<p dir="auto">void PopupInput::saveData()<br />
{</p>
<pre><code> QFile file&amp;#40; "a.txt" &amp;#41;;
 //QFile file&amp;#40;"d://out.txt"&amp;#41;;

 if( !file.exists() )
 {

     file.open(QIODevice::WriteOnly | QIODevice::Text);
     QTextStream out(&amp;file);
     out &lt;&lt; "This file is generated by Qt\n";

     file.close();


    qDebug()&lt;&lt;"created";
 }
 else
 {


    qDebug()&lt;&lt;"exists";
 }
 file.close();
</code></pre>
<p dir="auto">}<br />
@</p>
<p dir="auto">Thanks in advance</p>
]]></description><link>https://forum.qt.io/topic/5503/compile-output-error-missing-library</link><generator>RSS for Node</generator><lastBuildDate>Sun, 07 Jun 2026 05:14:10 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/5503.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 03 May 2011 21:26:12 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Compile output error. Missing library? on Wed, 04 May 2011 07:07:50 GMT]]></title><description><![CDATA[<p dir="auto">Just saw that the dll in question is probably a debug version. You write that the problem is in release mode. That is probably the problem.</p>
<p dir="auto">The error sais that loading "qmfstoragemanagerd.dll" is the problem. The 'd' at the library name's end should indicate a debug version.</p>
<p dir="auto">What puzzles me is that the name does not end with '4' as all my dlls for msvc do.</p>
]]></description><link>https://forum.qt.io/post/86266</link><guid isPermaLink="true">https://forum.qt.io/post/86266</guid><dc:creator><![CDATA[koahnig]]></dc:creator><pubDate>Wed, 04 May 2011 07:07:50 GMT</pubDate></item><item><title><![CDATA[Reply to Compile output error. Missing library? on Wed, 04 May 2011 06:58:23 GMT]]></title><description><![CDATA[<p dir="auto">I guess it has something to do with your creator installation.</p>
<h1>The dll in question is not always part of Qt windows installations. I am using msvc with different versions of Qt and a qmf*.dll cannot be found on my system.</h1>
<h1>The error message sais that there are incompatible Qt library versions used.</h1>
<p dir="auto">It looks that you have more than one version of Qt installed and there is a mixture of versions.</p>
]]></description><link>https://forum.qt.io/post/86267</link><guid isPermaLink="true">https://forum.qt.io/post/86267</guid><dc:creator><![CDATA[koahnig]]></dc:creator><pubDate>Wed, 04 May 2011 06:58:23 GMT</pubDate></item></channel></rss>