<?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[&#x27;QInputDialog&#x27; has not been declared - embadded development]]></title><description><![CDATA[<p dir="auto">Hi All,</p>
<p dir="auto"><strong>Details/Scenario:</strong><br />
I am developing qtopia widget application that required user selection at a point. The main target is during the user selection I want my application code afterwards should be paused until user selects or cancels the provided option.</p>
<p dir="auto"><strong>Testing:</strong><br />
I tried to create widget2 and set is using setCentralWidget() resulting ui is changed but the next remaining code also executed.<br />
<strong>Issue:</strong><br />
I searched and found that I should use QInputDialogue class to achieve my target. I create the code and include the header file but I am getting <strong>error : 'QInputDialog' has not been declared</strong></p>
<p dir="auto">If anybody can help me to solve this issue or any alternative to achieve my target scenario.</p>
<p dir="auto">Thanks<br />
Kashif</p>
]]></description><link>https://forum.qt.io/topic/90701/qinputdialog-has-not-been-declared-embadded-development</link><generator>RSS for Node</generator><lastBuildDate>Sat, 18 Jul 2026 11:55:33 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/90701.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 14 May 2018 13:26:32 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to &#x27;QInputDialog&#x27; has not been declared - embadded development on Wed, 16 May 2018 22:28:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kashif">@<bdi>Kashif</bdi></a> Nice!  Glad you got everything working.</p>
<p dir="auto">Don't forget to mark the topic as solved. :)</p>
]]></description><link>https://forum.qt.io/post/458683</link><guid isPermaLink="true">https://forum.qt.io/post/458683</guid><dc:creator><![CDATA[ambershark]]></dc:creator><pubDate>Wed, 16 May 2018 22:28:51 GMT</pubDate></item><item><title><![CDATA[Reply to &#x27;QInputDialog&#x27; has not been declared - embadded development on Wed, 16 May 2018 14:32:45 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/ambershark">@<bdi>ambershark</bdi></a>,</p>
<p dir="auto">I have created the constructor successfully and it display the item in comboBox.</p>
<p dir="auto">Thanks for your help.</p>
]]></description><link>https://forum.qt.io/post/458600</link><guid isPermaLink="true">https://forum.qt.io/post/458600</guid><dc:creator><![CDATA[Kashif]]></dc:creator><pubDate>Wed, 16 May 2018 14:32:45 GMT</pubDate></item><item><title><![CDATA[Reply to &#x27;QInputDialog&#x27; has not been declared - embadded development on Wed, 16 May 2018 11:50:12 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/ambershark">@<bdi>ambershark</bdi></a>,</p>
<p dir="auto">Can you please help me how do I modify the constructor to get the parameters similar to QInputDialog::getItem</p>
<p dir="auto">Thanks</p>
]]></description><link>https://forum.qt.io/post/458564</link><guid isPermaLink="true">https://forum.qt.io/post/458564</guid><dc:creator><![CDATA[Kashif]]></dc:creator><pubDate>Wed, 16 May 2018 11:50:12 GMT</pubDate></item><item><title><![CDATA[Reply to &#x27;QInputDialog&#x27; has not been declared - embadded development on Wed, 16 May 2018 08:45:24 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/ambershark">@<bdi>ambershark</bdi></a>,</p>
<p dir="auto">PreviouslyI have created secondary widget and called it but my parent widget code was also running this was the reason I moved towards QDialog.<br />
The good new is I have created a custom sample dialog class and it is working as required. Now I have to make it similar to QInputDialog. Following is the code from my custom dialog class:</p>
<pre><code>#ifndef APPSELECTIONDIALOG_H
#define APPSELECTIONDIALOG_H


#include &lt;QtGui/QDialog&gt;
#include &lt;QtGui/QVBoxLayout&gt;
#include &lt;QtGui/QLineEdit&gt;
#include &lt;QtGui/QPushButton&gt;
//#include &lt;QtGui/QLabel&gt;

class appSelectionDialog: public QDialog
{
    Q_OBJECT
public:
    explicit appSelectionDialog(QWidget *p = 0): QDialog(p) {
        QVBoxLayout *layout = new QVBoxLayout(this);
        lineEdit = new QLineEdit(this);
        QPushButton *button = new QPushButton("Ok", this);
        layout-&gt;addWidget(lineEdit);
        layout-&gt;addWidget(button);
        setLayout(layout);

        connect(button, SIGNAL(clicked()), SLOT(accept()));
    }

    QString getText() const {
        return lineEdit-&gt;text();
    }
private:
    QLineEdit *lineEdit;
};

#endif // APPSELECTIONDIALOG_H
</code></pre>
<p dir="auto"><strong>Calling function:</strong></p>
<pre><code>    appSelectionDialog dialog; // dialog object exists
    (void) dialog.exec();    // dialog is visible
    DBGPRINTF(LOG_INFO, CLASS_EMV,"Text [%s]", dialog.getText().toLocal8Bit().constData() );  //This method prints the text on console in c format
</code></pre>
<p dir="auto">If you have reference to make it similar to QInputDialog please share it  :)</p>
<p dir="auto">Thanks</p>
]]></description><link>https://forum.qt.io/post/458535</link><guid isPermaLink="true">https://forum.qt.io/post/458535</guid><dc:creator><![CDATA[Kashif]]></dc:creator><pubDate>Wed, 16 May 2018 08:45:24 GMT</pubDate></item><item><title><![CDATA[Reply to &#x27;QInputDialog&#x27; has not been declared - embadded development on Wed, 16 May 2018 06:42:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kashif">@<bdi>Kashif</bdi></a> If you can't use QDialog, there are other ways to simulate it, getting user input from a qwidget and not allowed it to proceed until your widget is closed.</p>
<p dir="auto">And if you can't use qwidgets, well then you don't really have a gui and none of this matters. :)</p>
]]></description><link>https://forum.qt.io/post/458515</link><guid isPermaLink="true">https://forum.qt.io/post/458515</guid><dc:creator><![CDATA[ambershark]]></dc:creator><pubDate>Wed, 16 May 2018 06:42:12 GMT</pubDate></item><item><title><![CDATA[Reply to &#x27;QInputDialog&#x27; has not been declared - embadded development on Wed, 16 May 2018 05:28:36 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/sgaist">@<bdi>SGaist</bdi></a>  and <a class="plugin-mentions-user plugin-mentions-a" href="/user/ambershark">@<bdi>ambershark</bdi></a>,</p>
<p dir="auto">I am planned to create custom dialog using QDialog class, in parallel I have placed a question to device vendor if I can use QDialog? or if I can use QTCore application. I hope I'll get positive reply for at least one of them.</p>
<p dir="auto">Thanks for your time and response.</p>
]]></description><link>https://forum.qt.io/post/458502</link><guid isPermaLink="true">https://forum.qt.io/post/458502</guid><dc:creator><![CDATA[Kashif]]></dc:creator><pubDate>Wed, 16 May 2018 05:28:36 GMT</pubDate></item><item><title><![CDATA[Reply to &#x27;QInputDialog&#x27; has not been declared - embadded development on Wed, 16 May 2018 04:41:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kashif">@<bdi>Kashif</bdi></a> said in <a href="/post/458368">'QInputDialog' has not been declared - embadded development</a>:</p>
<blockquote>
<p dir="auto">is disabled from the toolchain by default in the QtExtended from qtopia</p>
</blockquote>
<p dir="auto">Well that makes a lot more sense. :)</p>
<p dir="auto">Like <a class="plugin-mentions-user plugin-mentions-a" href="/user/sgaist">@<bdi>SGaist</bdi></a> said, just write your own QDialog.  Make it modal by calling it with <code>myDialog-&gt;exec()</code> and test that return code for a <code>QDialog::Accepted</code> in order to proceed or <code>QDialog::Rejected</code> in order to exit the process.</p>
]]></description><link>https://forum.qt.io/post/458485</link><guid isPermaLink="true">https://forum.qt.io/post/458485</guid><dc:creator><![CDATA[ambershark]]></dc:creator><pubDate>Wed, 16 May 2018 04:41:57 GMT</pubDate></item><item><title><![CDATA[Reply to &#x27;QInputDialog&#x27; has not been declared - embadded development on Tue, 15 May 2018 20:11:58 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">You can build your own <a href="http://doc.qt.io/qt-5/qdialog.html" target="_blank" rel="noopener noreferrer nofollow ugc">QDialog</a> for that purpose or depending on your application a <a href="http://doc.qt.io/qt-5/qwizard.html" target="_blank" rel="noopener noreferrer nofollow ugc">QWizard</a> might also be an option.</p>
]]></description><link>https://forum.qt.io/post/458453</link><guid isPermaLink="true">https://forum.qt.io/post/458453</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Tue, 15 May 2018 20:11:58 GMT</pubDate></item><item><title><![CDATA[Reply to &#x27;QInputDialog&#x27; has not been declared - embadded development on Tue, 15 May 2018 13:25:40 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/kashif">@<bdi>Kashif</bdi></a>,</p>
<p dir="auto">I got the following reply from my device vendor:</p>
<pre><code>I checked on our SDK and QInputDialog is disabled from the toolchain by default in the QtExtended from qtopia, you can look at
http://doc.qt.io/archives/qt-4.8 and look for an alternative. the list of disabled elements by qtopia can be found at
/opt/toolchain/arm-unknown-linux-gnueabi/sysroot/usr/QtopiaSDK/qtopiacore/qconfig-qpe.h
in your toolchain
</code></pre>
<p dir="auto">Can you please suggest an approach to achieve my target:</p>
<pre><code>0&gt; User have Purchase Ticket / Refund Ticket options
1&gt; User selects purchase ticket
2&gt; Application lists types of tickets
    a&gt; User Selects ticket or cancel (until completion/user selection step 3 should not execute)
3&gt; Do purchase process or exit purchase process
</code></pre>
<p dir="auto">Thanks</p>
]]></description><link>https://forum.qt.io/post/458368</link><guid isPermaLink="true">https://forum.qt.io/post/458368</guid><dc:creator><![CDATA[Kashif]]></dc:creator><pubDate>Tue, 15 May 2018 13:25:40 GMT</pubDate></item><item><title><![CDATA[Reply to &#x27;QInputDialog&#x27; has not been declared - embadded development on Tue, 15 May 2018 07:16:05 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/ambershark">@<bdi>ambershark</bdi></a>,<br />
I altered device vendor's sample gui application, comment all widgets and widget-items. Added the code available in qt documentation to test QInoutDialog:getItem.<br />
Still same error.</p>
<p dir="auto">Thanks</p>
]]></description><link>https://forum.qt.io/post/458261</link><guid isPermaLink="true">https://forum.qt.io/post/458261</guid><dc:creator><![CDATA[Kashif]]></dc:creator><pubDate>Tue, 15 May 2018 07:16:05 GMT</pubDate></item><item><title><![CDATA[Reply to &#x27;QInputDialog&#x27; has not been declared - embadded development on Tue, 15 May 2018 06:53:42 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/ambershark">@<bdi>ambershark</bdi></a>,</p>
<p dir="auto">Following are the permissions:</p>
<pre><code>gmx@GMX-SDK:~$ ls -l /usr/include/qt4/QtGui/QInputDialog
-rw-r--r-- 1 root root 26 Apr 26  2012 /usr/include/qt4/QtGui/QInputDialog
gmx@GMX-SDK:~$ 
gmx@GMX-SDK:~$ 
gmx@GMX-SDK:~$ 
gmx@GMX-SDK:~$ 
gmx@GMX-SDK:~$ ls -l /opt/toolchain/arm-unknown-linux-gnueabi/sysroot/usr/QtopiaSDK/qtopiacore/target/include/QtGui/QInputDialog
-rw-r--r-- 1 root root 26 Jun  7  2013 /opt/toolchain/arm-unknown-linux-gnueabi/sysroot/usr/QtopiaSDK/qtopiacore/target/include/QtGui/QInputDialog
gmx@GMX-SDK:~$ 
gmx@GMX-SDK:~$ 
gmx@GMX-SDK:~$ 
gmx@GMX-SDK:~$ ls -l /opt/toolchain/arm-unknown-linux-gnueabi/sysroot/usr/QtopiaSDK/qtopiacore/host/include/QtGui/QInputDialog
-rw-r--r-- 1 root root 26 Jun  7  2013 /opt/toolchain/arm-unknown-linux-gnueabi/sysroot/usr/QtopiaSDK/qtopiacore/host/include/QtGui/QInputDialog
gmx@GMX-SDK:~$ 
gmx@GMX-SDK:~$ 
</code></pre>
<p dir="auto">qmake -query results:</p>
<pre><code>gmx@GMX-SDK:~$ qmake -query
QT_INSTALL_PREFIX:/usr
QT_INSTALL_DATA:/usr/share/qt4
QT_INSTALL_DOCS:/usr/share/qt4/doc
QT_INSTALL_HEADERS:/usr/include/qt4
QT_INSTALL_LIBS:/usr/lib/x86_64-linux-gnu
QT_INSTALL_BINS:/usr/bin
QT_INSTALL_PLUGINS:/usr/lib/x86_64-linux-gnu/qt4/plugins
QT_INSTALL_IMPORTS:/usr/lib/x86_64-linux-gnu/qt4/imports
QT_INSTALL_TRANSLATIONS:/usr/share/qt4/translations
QT_INSTALL_CONFIGURATION:/etc/xdg
QT_INSTALL_EXAMPLES:/usr/lib/qt4/examples
QT_INSTALL_DEMOS:/usr/lib/qt4/demos
QMAKE_MKSPECS:/usr/share/qt4/mkspecs
QMAKE_VERSION:2.01a
QT_VERSION:4.8.2
gmx@GMX-SDK:~$ 
</code></pre>
<p dir="auto">Let me try with simple project as you suggested.</p>
<p dir="auto">Thanks</p>
]]></description><link>https://forum.qt.io/post/458249</link><guid isPermaLink="true">https://forum.qt.io/post/458249</guid><dc:creator><![CDATA[Kashif]]></dc:creator><pubDate>Tue, 15 May 2018 06:53:42 GMT</pubDate></item><item><title><![CDATA[Reply to &#x27;QInputDialog&#x27; has not been declared - embadded development on Tue, 15 May 2018 06:13:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kashif">@<bdi>Kashif</bdi></a> Hmm this is really weird ...</p>
<p dir="auto">Can you check permissions on the QInputDialog files in /opt/ .. those are the ones it should be using to cross compile.  Make sure you have read permissions to them.</p>
<p dir="auto">Next, let's see if maybe the qmake you are using is finding the wrong qmake or something, run <code>qmake -query</code> and paste results here.</p>
<p dir="auto">I'm kind of reaching at this point though.  Everything looks good so far like it should work.</p>
<p dir="auto">Another idea is create a simple project that just has a main and a <code>QInputDialog::getText</code> or something and see if you can get that to build with your cross compiler toolchain.  Take all the complexity from your actual project out of it.</p>
]]></description><link>https://forum.qt.io/post/458236</link><guid isPermaLink="true">https://forum.qt.io/post/458236</guid><dc:creator><![CDATA[ambershark]]></dc:creator><pubDate>Tue, 15 May 2018 06:13:03 GMT</pubDate></item><item><title><![CDATA[Reply to &#x27;QInputDialog&#x27; has not been declared - embadded development on Tue, 15 May 2018 06:03:30 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/ambershark">@<bdi>ambershark</bdi></a>,</p>
<p dir="auto">Following is the output result:</p>
<pre><code>qbuild
arm-unknown-linux-gnueabi-g++ /home/gmx/Documents/gmx-examples/QR_EFT/gprs_connect.cpp
arm-unknown-linux-gnueabi-g++ -MMD -MF /home/gmx/Documents/gmx-examples/QR_EFT/.obj/gprs_connect.cpp.d -c -pipe -DQT_KEYPAD_NAVIGATION -mabi=aapcs-linux -I/data/home/builder/build/trunk-builder/.toolchain/arm-unknown-linux-gnueabi/sysroot/usr/include -Wall -W -O2 -O2 -DQTOPIA_NO_PAGE_SIZE_MASK -DQT_QWS_CLIENTBLIT -DQTOPIA_NO_PAGE_SIZE_MASK -DQTOPIA_POSIX_LOCKS -DQTOPIA_HAVE_SEMTIMEDOP -DQT_NO_QWS_VFB -DQTOPIA_HAVE_V4L2 -DQTOPIA_TELEPHONY -DMEDIA_SERVER -DQTOPIA_MOBILEUI -DQTOPIA_NO_PAGE_SIZE_MASK -DQT_QWS_CLIENTBLIT -DQTOPIA_NO_PAGE_SIZE_MASK -DQTOPIA_CELL -DQTOPIA_BLUETOOTH -DQT_NO_SXE -DUSE_PICTUREFLOW -DQT_KEYPAD_NAVIGATION -DBUILDER=""\""builder@builder.youtransactor.com\"""" -DMAKE_EMV -DMAKE_SPDH -DDBGTRACE -DQTOPIA_TARGET=""\""QR_EFT_01.07\"""" -DQT_NO_DEBUG -DQT_DBUS_LIB -DQT_SVG_LIB -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I/opt/toolchain/arm-unknown-linux-gnueabi/sysroot/usr/QtopiaSDK/qtopiacore/target/mkspecs/qws/linux-yt-g++ -I/home/gmx/Documents/gmx-examples/QR_EFT/qtopiacore/target/mkspecs/qws/linux-yt-g++ -I/home/gmx/Documents/gmx-examples/QR_EFT/data/home/builder/build/trunk-builder/.build/qt-extended-4.4.3/qtopiacore/qt/mkspecs/qws/linux-yt-g++ -I/home/gmx/Documents/gmx-examples/QR_EFT/.uic -I/home/gmx/Documents/gmx-examples/QR_EFT/.moc -I/home/gmx/Documents/gmx-examples/QR_EFT -I/data/home/builder/build/trunk-builder/.build/qt-extended-4.4.3/devices/youtransactor/include -I/opt/toolchain/arm-unknown-linux-gnueabi/sysroot/usr/QtopiaSDK/qtopiacore/target/include/ -I/opt/toolchain/arm-unknown-linux-gnueabi/sysroot/usr/QtopiaSDK/include/qtopiacomm -I/opt/toolchain/arm-unknown-linux-gnueabi/sysroot/usr/QtopiaSDK/include/qtopiacomm/module -I/opt/toolchain/arm-unknown-linux-gnueabi/sysroot/usr/QtopiaSDK/include/openobex -I/opt/toolchain/arm-unknown-linux-gnueabi/sysroot/usr/QtopiaSDK/include/openobex/module -I/opt/toolchain/arm-unknown-linux-gnueabi/sysroot/usr/QtopiaSDK/include/qtopiabase -I/opt/toolchain/arm-unknown-linux-gnueabi/sysroot/usr/QtopiaSDK/include/qtopiabase/module -I/opt/toolchain/arm-unknown-linux-gnueabi/sysroot/usr/QtopiaSDK/include/qtopia -I/opt/toolchain/arm-unknown-linux-gnueabi/sysroot/usr/QtopiaSDK/include/qtopia/module -I/opt/toolchain/arm-unknown-linux-gnueabi/sysroot/usr/QtopiaSDK/include/md5 -I/opt/toolchain/arm-unknown-linux-gnueabi/sysroot/usr/QtopiaSDK/include/md5/module -I/opt/toolchain/arm-unknown-linux-gnueabi/sysroot/usr/QtopiaSDK/include/qtopiagfx -I/opt/toolchain/arm-unknown-linux-gnueabi/sysroot/usr/QtopiaSDK/include/qtopiagfx/module -I/opt/toolchain/arm-unknown-linux-gnueabi/sysroot/usr/QtopiaSDK/qtopiacore/target/include -I/opt/toolchain/arm-unknown-linux-gnueabi/sysroot/usr/QtopiaSDK/qtopiacore/target/include/QtDBus -I/opt/toolchain/arm-unknown-linux-gnueabi/sysroot/usr/QtopiaSDK/qtopiacore/target/include/QtSvg -I/opt/toolchain/arm-unknown-linux-gnueabi/sysroot/usr/QtopiaSDK/qtopiacore/target/include/QtSql -I/opt/toolchain/arm-unknown-linux-gnueabi/sysroot/usr/QtopiaSDK/qtopiacore/target/include/QtXml -I/opt/toolchain/arm-unknown-linux-gnueabi/sysroot/usr/QtopiaSDK/qtopiacore/target/include/QtGui -I/opt/toolchain/arm-unknown-linux-gnueabi/sysroot/usr/QtopiaSDK/qtopiacore/target/include/QtNetwork -I/opt/toolchain/arm-unknown-linux-gnueabi/sysroot/usr/QtopiaSDK/qtopiacore/target/include/QtCore -o /home/gmx/Documents/gmx-examples/QR_EFT/.obj/gprs_connect.o /home/gmx/Documents/gmx-examples/QR_EFT/gprs_connect.cpp
In file included from /home/gmx/Documents/gmx-examples/QR_EFT/gprs_connect.cpp:45:0:
/home/gmx/Documents/gmx-examples/QR_EFT/Sources/Isc_OS/DbgTrace.h:154:0: warning: "DBGTRACE" redefined [enabled by default]
 #define DBGTRACE( level, class, format, ...)    DBGPRINTF(level,class, format, ##__VA_ARGS__)
 ^
&lt;command-line&gt;:0:0: note: this is the location of the previous definition
/home/gmx/Documents/gmx-examples/QR_EFT/gprs_connect.cpp: In function 'int WriteTermFloorDate()':
/home/gmx/Documents/gmx-examples/QR_EFT/gprs_connect.cpp:2812:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
/home/gmx/Documents/gmx-examples/QR_EFT/gprs_connect.cpp: In member function 'int GPRSConnect::UserSelection(unsigned char*, short unsigned int)':
/home/gmx/Documents/gmx-examples/QR_EFT/gprs_connect.cpp:3770:20: error: 'QInputDialog' has not been declared
     QString item = QInputDialog::getItem(this, tr("QInputDialog::getItem()"),
                    ^
/home/gmx/Documents/gmx-examples/QR_EFT/gprs_connect.cpp: In function 'UBYTE UpdFieldsPostAppSel()':
/home/gmx/Documents/gmx-examples/QR_EFT/gprs_connect.cpp:3079:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
*** Error 
/default: Prerequisite failed
/target: Prerequisite failed
/target_post: Prerequisite failed
/cpp_compiler_target: Prerequisite failed
/gprs_connect.o: Command execution failed
$$MKSPEC.CXX -MMD -MF $$[OUTPUT.1] -c $${COMPILER.CXXFLAGS} $${COMPILER.DEFINES} $${COMPILER.INCLUDEPATH} -o $$[OUTPUT.0] $$[INPUT.0]
arm-unknown-linux-gnueabi-g++ -MMD -MF /home/gmx/Documents/gmx-examples/QR_EFT/.obj/gprs_connect.cpp.d -c -pipe -DQT_KEYPAD_NAVIGATION -mabi=aapcs-linux -I/data/home/builder/build/trunk-builder/.toolchain/arm-unknown-linux-gnueabi/sysroot/usr/include -Wall -W -O2 -O2 -DQTOPIA_NO_PAGE_SIZE_MASK -DQT_QWS_CLIENTBLIT -DQTOPIA_NO_PAGE_SIZE_MASK -DQTOPIA_POSIX_LOCKS -DQTOPIA_HAVE_SEMTIMEDOP -DQT_NO_QWS_VFB -DQTOPIA_HAVE_V4L2 -DQTOPIA_TELEPHONY -DMEDIA_SERVER -DQTOPIA_MOBILEUI -DQTOPIA_NO_PAGE_SIZE_MASK -DQT_QWS_CLIENTBLIT -DQTOPIA_NO_PAGE_SIZE_MASK -DQTOPIA_CELL -DQTOPIA_BLUETOOTH -DQT_NO_SXE -DUSE_PICTUREFLOW -DQT_KEYPAD_NAVIGATION -DBUILDER=""\""builder@builder.youtransactor.com\"""" -DMAKE_EMV -DMAKE_SPDH -DDBGTRACE -DQTOPIA_TARGET=""\""QR_EFT_01.07\"""" -DQT_NO_DEBUG -DQT_DBUS_LIB -DQT_SVG_LIB -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I/opt/toolchain/arm-unknown-linux-gnueabi/sysroot/usr/QtopiaSDK/qtopiacore/target/mkspecs/qws/linux-yt-g++ -I/home/gmx/Documents/gmx-examples/QR_EFT/qtopiacore/target/mkspecs/qws/linux-yt-g++ -I/home/gmx/Documents/gmx-examples/QR_EFT/data/home/builder/build/trunk-builder/.build/qt-extended-4.4.3/qtopiacore/qt/mkspecs/qws/linux-yt-g++ -I/home/gmx/Documents/gmx-examples/QR_EFT/.uic -I/home/gmx/Documents/gmx-examples/QR_EFT/.moc -I/home/gmx/Documents/gmx-examples/QR_EFT -I/data/home/builder/build/trunk-builder/.build/qt-extended-4.4.3/devices/youtransactor/include -I/opt/toolchain/arm-unknown-linux-gnueabi/sysroot/usr/QtopiaSDK/qtopiacore/target/include/ -I/opt/toolchain/arm-unknown-linux-gnueabi/sysroot/usr/QtopiaSDK/include/qtopiacomm -I/opt/toolchain/arm-unknown-linux-gnueabi/sysroot/usr/QtopiaSDK/include/qtopiacomm/module -I/opt/toolchain/arm-unknown-linux-gnueabi/sysroot/usr/QtopiaSDK/include/openobex -I/opt/toolchain/arm-unknown-linux-gnueabi/sysroot/usr/QtopiaSDK/include/openobex/module -I/opt/toolchain/arm-unknown-linux-gnueabi/sysroot/usr/QtopiaSDK/include/qtopiabase -I/opt/toolchain/arm-unknown-linux-gnueabi/sysroot/usr/QtopiaSDK/include/qtopiabase/module -I/opt/toolchain/arm-unknown-linux-gnueabi/sysroot/usr/QtopiaSDK/include/qtopia -I/opt/toolchain/arm-unknown-linux-gnueabi/sysroot/usr/QtopiaSDK/include/qtopia/module -I/opt/toolchain/arm-unknown-linux-gnueabi/sysroot/usr/QtopiaSDK/include/md5 -I/opt/toolchain/arm-unknown-linux-gnueabi/sysroot/usr/QtopiaSDK/include/md5/module -I/opt/toolchain/arm-unknown-linux-gnueabi/sysroot/usr/QtopiaSDK/include/qtopiagfx -I/opt/toolchain/arm-unknown-linux-gnueabi/sysroot/usr/QtopiaSDK/include/qtopiagfx/module -I/opt/toolchain/arm-unknown-linux-gnueabi/sysroot/usr/QtopiaSDK/qtopiacore/target/include -I/opt/toolchain/arm-unknown-linux-gnueabi/sysroot/usr/QtopiaSDK/qtopiacore/target/include/QtDBus -I/opt/toolchain/arm-unknown-linux-gnueabi/sysroot/usr/QtopiaSDK/qtopiacore/target/include/QtSvg -I/opt/toolchain/arm-unknown-linux-gnueabi/sysroot/usr/QtopiaSDK/qtopiacore/target/include/QtSql -I/opt/toolchain/arm-unknown-linux-gnueabi/sysroot/usr/QtopiaSDK/qtopiacore/target/include/QtXml -I/opt/toolchain/arm-unknown-linux-gnueabi/sysroot/usr/QtopiaSDK/qtopiacore/target/include/QtGui -I/opt/toolchain/arm-unknown-linux-gnueabi/sysroot/usr/QtopiaSDK/qtopiacore/target/include/QtNetwork -I/opt/toolchain/arm-unknown-linux-gnueabi/sysroot/usr/QtopiaSDK/qtopiacore/target/include/QtCore -o /home/gmx/Documents/gmx-examples/QR_EFT/.obj/gprs_connect.o /home/gmx/Documents/gmx-examples/QR_EFT/gprs_connect.cpp
In file included from /home/gmx/Documents/gmx-examples/QR_EFT/gprs_connect.cpp:45:0:
/home/gmx/Documents/gmx-examples/QR_EFT/Sources/Isc_OS/DbgTrace.h:154:0: warning: "DBGTRACE" redefined [enabled by default]
 #define DBGTRACE( level, class, format, ...)    DBGPRINTF(level,class, format, ##__VA_ARGS__)
 ^
&lt;command-line&gt;:0:0: note: this is the location of the previous definition
/home/gmx/Documents/gmx-examples/QR_EFT/gprs_connect.cpp: In function 'int WriteTermFloorDate()':
/home/gmx/Documents/gmx-examples/QR_EFT/gprs_connect.cpp:2812:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
/home/gmx/Documents/gmx-examples/QR_EFT/gprs_connect.cpp: In member function 'int GPRSConnect::UserSelection(unsigned char*, short unsigned int)':
/home/gmx/Documents/gmx-examples/QR_EFT/gprs_connect.cpp:3770:20: error: 'QInputDialog' has not been declared
     QString item = QInputDialog::getItem(this, tr("QInputDialog::getItem()"),
                    ^
/home/gmx/Documents/gmx-examples/QR_EFT/gprs_connect.cpp: In function 'UBYTE UpdFieldsPostAppSel()':
/home/gmx/Documents/gmx-examples/QR_EFT/gprs_connect.cpp:3079:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^

make: *** [QR_EFT] Error 1
</code></pre>
<p dir="auto">Thanks</p>
]]></description><link>https://forum.qt.io/post/458233</link><guid isPermaLink="true">https://forum.qt.io/post/458233</guid><dc:creator><![CDATA[Kashif]]></dc:creator><pubDate>Tue, 15 May 2018 06:03:30 GMT</pubDate></item><item><title><![CDATA[Reply to &#x27;QInputDialog&#x27; has not been declared - embadded development on Tue, 15 May 2018 05:59:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kashif">@<bdi>Kashif</bdi></a> Can I see the output from the compile?  Everything looks in order so maybe the actual error message and output will shed some light on this.</p>
<blockquote>
<p dir="auto">I have already replied to SGaist.</p>
</blockquote>
<p dir="auto">You sure did, sorry missed that, lol.</p>
]]></description><link>https://forum.qt.io/post/458231</link><guid isPermaLink="true">https://forum.qt.io/post/458231</guid><dc:creator><![CDATA[ambershark]]></dc:creator><pubDate>Tue, 15 May 2018 05:59:56 GMT</pubDate></item><item><title><![CDATA[Reply to &#x27;QInputDialog&#x27; has not been declared - embadded development on Tue, 15 May 2018 05:54:41 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/ambershark">@<bdi>ambershark</bdi></a>,</p>
<p dir="auto">Following is the result of find command:</p>
<pre><code> gmx@GMX-SDK:~$ sudo find / -iname "qinputdialog"
/usr/include/qt4/QtGui/QInputDialog
/opt/toolchain/arm-unknown-linux-gnueabi/sysroot/usr/QtopiaSDK/qtopiacore/target/include/QtGui/QInputDialog
/opt/toolchain/arm-unknown-linux-gnueabi/sysroot/usr/QtopiaSDK/qtopiacore/host/include/QtGui/QInputDialog
gmx@GMX-SDK:~$
</code></pre>
<p dir="auto">I am unable to upload/attach any file anyways, MakeFile Contents:</p>
<pre><code>CROSS_COMPILE?=$(shell gmx-sdk-cross-compile)

NAME:=$(shell basename `pwd`)
TARGET:=$(NAME)
SRCS:=$(wildcard *.c)

$(TARGET): $(SRCS)
        $(CROSS_COMPILE)gcc -o $@ $&lt; -Wall -Werror -lrt

deploy: $(TARGET)
	scp $(TARGET) root@sk:/usr/bin

test: deploy
	ssh root@sk $(NAME)

clean:
	rm -f $(TARGET)

</code></pre>
<p dir="auto"><a href="http://quild.pro" target="_blank" rel="noopener noreferrer nofollow ugc">quild.pro</a> contents:</p>
<pre><code>TEMPLATE = app 
#This is the (name+version) for final product
#version date : 20171103
TARGET = QR_EFT_01.07
CONFIG += qtopia
#CONFIG += qtopia debug

#LIBS += -lOemDecode -lrpc -lbluetooth -lytprinter -lcurl -lgps -lytlibs
LIBS += -lrpc

MODULES *= qtopiacomm
# These are the source files that get built to create the application
FORMS = 
# These are the defines to control functionality in application during compilation
#DEFINES += MAKE_CTLS += MAKE_TOPUP MAKE_SMARTINIT
DEFINES += MAKE_EMV MAKE_SPDH DBGTRACE

#QT += xml

HEADERS = \
    Sources/Common/Data/struct.h \
    Sources/Common/Txn_flow/transdef.h \
    Sources/Isc_OS/DbgTrace.h \
	...

SOURCES = \
    gprs_connect.cpp \
    main.cpp \
    Sources/Common/Txn_flow/funct2.cpp \
    Sources/Common/Data/appdata.c \
    Sources/IscSDK/utllib.c \
	...

OTHER_FILES += \
    Sources/Isc_OS/equates.inc

#include for beeper
LIBS += -lQtMultimedia
INCLUDEPATH += /opt/toolchain/arm-unknown-linux-gnueabi/sysroot/usr/QtopiaSDK/qtopiacore/target/include/

</code></pre>
<p dir="auto">I have already replied to SGaist.</p>
<p dir="auto">Thanks</p>
]]></description><link>https://forum.qt.io/post/458229</link><guid isPermaLink="true">https://forum.qt.io/post/458229</guid><dc:creator><![CDATA[Kashif]]></dc:creator><pubDate>Tue, 15 May 2018 05:54:41 GMT</pubDate></item><item><title><![CDATA[Reply to &#x27;QInputDialog&#x27; has not been declared - embadded development on Tue, 15 May 2018 05:27:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kashif">@<bdi>Kashif</bdi></a> Ok, can we see the actual build output?</p>
<p dir="auto">Also you can check on your embedded device if you actually have the QInputDialog file.  Most embedded devices are linux, so you should be able to use the command <code>find /path/to/your/qt -iname "qinputdialog"</code> and see if it actually exists in the Qt installed on your target system.</p>
<p dir="auto">The actual build output and possibly the code file where you try to create the object would be helpful.</p>
<p dir="auto">Also, if you could answer <a class="plugin-mentions-user plugin-mentions-a" href="/user/sgaist">@<bdi>SGaist</bdi></a> 's questions from above that would help too.</p>
<p dir="auto">Oh and sharing the build Makefile may help too, and your <a href="http://qbuild.pro" target="_blank" rel="noopener noreferrer nofollow ugc">qbuild.pro</a> file.</p>
]]></description><link>https://forum.qt.io/post/458224</link><guid isPermaLink="true">https://forum.qt.io/post/458224</guid><dc:creator><![CDATA[ambershark]]></dc:creator><pubDate>Tue, 15 May 2018 05:27:34 GMT</pubDate></item><item><title><![CDATA[Reply to &#x27;QInputDialog&#x27; has not been declared - embadded development on Tue, 15 May 2018 04:48:43 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/ambershark">@<bdi>ambershark</bdi></a>,</p>
<p dir="auto">I have included using both ways:</p>
<pre><code>#include &lt;QInputDialog&gt;
#include &lt;QtGui/QInputDialog&gt;
</code></pre>
<p dir="auto">I am not using qmake but using make file to use cross compiler provided by the device vendor and it does not contains any configurations, whereas my configurations are placed inside project file (<a href="http://qbuild.pro" target="_blank" rel="noopener noreferrer nofollow ugc">qbuild.pro</a>).</p>
<pre><code>QT += widgets
</code></pre>
<p dir="auto">This configuration is not defined in ".pro" file but all widgets (gui) including text label, input line, command buttons are working fine in my application.</p>
<p dir="auto">Thanks</p>
]]></description><link>https://forum.qt.io/post/458216</link><guid isPermaLink="true">https://forum.qt.io/post/458216</guid><dc:creator><![CDATA[Kashif]]></dc:creator><pubDate>Tue, 15 May 2018 04:48:43 GMT</pubDate></item><item><title><![CDATA[Reply to &#x27;QInputDialog&#x27; has not been declared - embadded development on Tue, 15 May 2018 04:41:49 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/sgaist">@<bdi>SGaist</bdi></a>,</p>
<p dir="auto">The device builtin version is QT4.6/QT Extended 4.4 and I can not update QT version. Device platform is Linux Kernel 2.6.32 and development environment is Debian Linux 7.8.</p>
<p dir="auto">Thanks</p>
]]></description><link>https://forum.qt.io/post/458215</link><guid isPermaLink="true">https://forum.qt.io/post/458215</guid><dc:creator><![CDATA[Kashif]]></dc:creator><pubDate>Tue, 15 May 2018 04:41:49 GMT</pubDate></item><item><title><![CDATA[Reply to &#x27;QInputDialog&#x27; has not been declared - embadded development on Tue, 15 May 2018 03:53:00 GMT]]></title><description><![CDATA[<p dir="auto">Might be obvious but did you actually include it?</p>
<p dir="auto"><code>#include &lt;QInputDialog&gt;</code></p>
<p dir="auto">Also, this is something you would need for any GUI, but make sure you have <code>QT += widgets</code> in your qmake.</p>
]]></description><link>https://forum.qt.io/post/458207</link><guid isPermaLink="true">https://forum.qt.io/post/458207</guid><dc:creator><![CDATA[ambershark]]></dc:creator><pubDate>Tue, 15 May 2018 03:53:00 GMT</pubDate></item><item><title><![CDATA[Reply to &#x27;QInputDialog&#x27; has not been declared - embadded development on Mon, 14 May 2018 21:11:44 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">What version of Qt are you using ?<br />
On what platform ?</p>
]]></description><link>https://forum.qt.io/post/458189</link><guid isPermaLink="true">https://forum.qt.io/post/458189</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Mon, 14 May 2018 21:11:44 GMT</pubDate></item></channel></rss>