<?xml version="1.0" encoding="UTF-8"?>

<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">

    
	<channel>

	<title>Qt DevNet forums: Installation and Deployment</title>
	<link>http://qt-project.org/forums/viewforum/14/</link>
	<description>RSS feed for latest threads in Installation and Deployment</description>
	<copyright>Copyright 2012 Qt Developer Network</copyright>
	<docs>http://www.rssboard.org/rss-specification</docs>
	<generator>ExpressionEngine v2.3.1 http://expressionengine.com/</generator>
	<lastBuildDate>Thu, 04 Nov 2010 17:51:21 GMT</lastBuildDate>
	<atom:link href="http://qt-project.org/feeds/forum/14" rel="self" type="application/rss+xml" />

    

	
        <item>
            <title>My first solution with QMAKE</title>
            <link>http://qt-project.org/forums/viewthread/17482</link>
            <author>rimas</author>
            <description><![CDATA[Hi,

	I have just registred to the forum after some months just reading your interesting posts.
I&#8217;l try to explain you what problem do I have and let&#8217;s see&#8230;

	I usually work in Windows using QT (and Visual Studio) but at home I have a mac (MacBook Pro with Snow Leopard 10.6.8) and I want to be able to work with it too.
I want to use QT and CMake to create the solution of the project we are working. In my Mac I have installed Xcode, the full QT application framework and CMake. I&#8217;m trying to create the solution via QT and CMake trougth a CMakeLists.txt.

	When I try to configure and generate the solutuion, I get this:

	CMake Error at /Applications/CMake 2.8&#45;8.app/Contents/share/cmake&#45;2.8/Modules/FindPackageHandleStandardArgs.cmake:97 &#40;MESSAGE&#41;:
&amp;nbsp; Could NOT find Qt4 &#40;missing: QT_QMAKE_EXECUTABLE QT_MOC_EXECUTABLE
&amp;nbsp; QT_RCC_EXECUTABLE QT_UIC_EXECUTABLE QT_INCLUDE_DIR QT_LIBRARY_DIR
&amp;nbsp; QT_QTCORE_LIBRARY&#41;
Call Stack &#40;most recent call first&#41;:
&amp;nbsp; /Applications/CMake 2.8&#45;8.app/Contents/share/cmake&#45;2.8/Modules/FindPackageHandleStandardArgs.cmake:288 &#40;_FPHSA_FAILURE_MESSAGE&#41;
&amp;nbsp; /Applications/CMake 2.8&#45;8.app/Contents/share/cmake&#45;2.8/Modules/FindQt4.cmake:1172 &#40;FIND_PACKAGE_HANDLE_STANDARD_ARGS&#41;
&amp;nbsp; commonLib/CMakeLists.txt:17 &#40;find_package&#41;


	QT is not able to find QT_QMAKE_EXECUTABLE, QT_MOC_EXECUTABLE, QT_RCC_EXECUTABLE, QT_UIC_EXECUTABLE, QT_INCLUDE_DIR, QT_LIBRARY_DIR and QT_QTCORE_LIBRARY.

	I read that to solve this I have to configure the Environment Variables of my system but in all the posts I read they add to $HOME/.profile:

	PATH=/usr/local/Trolltech/Qt&#45;4.7/bin:$PATH
export PATH


	In my Mac the folder /usr/local/Trolltech doesn&#8217;t exist so I have no idea what I have to do. What should the content of that folder be? I have installed the last and full QT package so I don&#8217;t understand why I don&#8217;t have that directory. I have installed the SDK in $HOME/QtSDK (by default it is installed there).

	Anybody know how can I solve it to be able to run cmake and generate the solution for QT?

	Thanks in advance.]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/17482</guid>
            <pubDate>Thu, 24 May 2012 13:55:52 GMT</pubDate>
        </item>
	
        <item>
            <title>Need source code for QT for Android or libqtcore source code</title>
            <link>http://qt-project.org/forums/viewthread/17481</link>
            <author>ankitjain</author>
            <description><![CDATA[&amp;gt;Hi,

	&amp;gt;Can anyone give me the link from where I can download the source code for QT or libqtcore source code.

	Thanks.
Ankit]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/17481</guid>
            <pubDate>Thu, 24 May 2012 13:44:57 GMT</pubDate>
        </item>
	
        <item>
            <title>QMYSQL Build Issue &#45;Qt 4.8.0 MSVC 2010&#45;</title>
            <link>http://qt-project.org/forums/viewthread/17414</link>
            <author>s7777</author>
            <description><![CDATA[I&#8217;m trying to build the QMYSQL plugin for the QT (I have the latest version, Qt 4.8.0 source files and I use the MSVC 2010 compiler along with the QtCreator IDE) and upon executing qmake (ran successfully) (using the MySQL win32 files I had placed into C:) I tried to run nmake and got the following errors:

	rc is not recognized as an internal or external command, operable program or batch file &#40;I guess it refers to the qsqlmysqld_resource.rc file here&#41;
&amp;nbsp;
NMAKE: fatal error U1077: &apos;rc&apos;: return code 0x1
Stop.
&amp;nbsp;
NMAKE: fatal error U1077: C:\Program Files&#40;x86&#41;\Microsoft Visual Studio 10.0\VC\bin\nmake.exe return code 0x2
Stop.


	What could be the issue here? Thanks.]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/17414</guid>
            <pubDate>Tue, 22 May 2012 14:11:47 GMT</pubDate>
        </item>
	
        <item>
            <title>Anyone used Qt in VS2012 beta?</title>
            <link>http://qt-project.org/forums/viewthread/17405</link>
            <author>lvdiw</author>
            <description><![CDATA[Is it possible at this time? Is there a compile option for vs2012?

	correct: sorry, I mean Visual Studio 11 Beta&#8230;]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/17405</guid>
            <pubDate>Tue, 22 May 2012 08:52:22 GMT</pubDate>
        </item>
	
        <item>
            <title>In QT 4.7.3, Components are not displayed</title>
            <link>http://qt-project.org/forums/viewthread/17395</link>
            <author>PeripateticCoder</author>
            <description><![CDATA[Hi,
  I&#8217;m working on a GUI that has been shown to display and function according to spec on other Linux machines using an equivalent version of QT (4.7.3). In my Linux environment unfortunately, the buttons, text fields, and drop down menus are not displayed. I&#8217;ve tried with simple button applications and upgraded my QT package but experienced the same problem; what could be preventing the components from being drawn?

	Thanks in advance for any help,
PC]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/17395</guid>
            <pubDate>Mon, 21 May 2012 18:18:57 GMT</pubDate>
        </item>
	
        <item>
            <title>On 4.8.1 configure for qpa, ./endiantest malformed object</title>
            <link>http://qt-project.org/forums/viewthread/17394</link>
            <author>vadimv</author>
            <description><![CDATA[On configure for qpa:
&#45;qpa &#45;xplatform qpa/macx&#45;iphonesimulator&#45;g++ &#45;arch i386 &#45;developer&#45;build &#45;release &#45;opengl es2 &#45;no&#45;accessibility &#45;no&#45;qt3support &#45;no&#45;multimedia &#45;no&#45;phonon&#45;backend &#45;no&#45;svg &#45;no&#45;webkit &#45;no&#45;scripttools &#45;no&#45;openssl &#45;no&#45;sql&#45;mysql &#45;no&#45;sql&#45;odbc &#45;no&#45;cups &#45;no&#45;iconv &#45;no&#45;dbus &#45;static &#45;nomake tools &#45;nomake demos &#45;nomake docs &#45;nomake examples &#45;nomake translations

configure stops at:
bin/qmake&amp;quot; project.o property.o main.o makefile.o unixmake2.o unixmake.o mingw_make.o option.o winmakefile.o projectgenerator.o meta.o makefiledeps.o metamakefile.o xmloutput.o pbuilder_pbx.o borland_bmake.o msvc_vcproj.o msvc_vcxproj.o msvc_nmake.o msvc_objectmodel.o msbuild_objectmodel.o symmake.o initprojectdeploy_symbian.o symmake_abld.o symmake_sbsv2.o symbiancommon.o registry.o epocroot.o gbuild.o qtextcodec.o qutfcodec.o qstring.o qtextstream.o qiodevice.o qmalloc.o qglobal.o qbytearray.o qbytearraymatcher.o qdatastream.o qbuffer.o qlist.o qfile.o qfilesystementry.o qfilesystemengine_unix.o qfilesystemengine.o qfilesystemiterator_unix.o qfsfileengine_unix.o qfsfileengine.o qfsfileengine_iterator.o qregexp.o qvector.o qbitarray.o qdir.o qdiriterator.o quuid.o qhash.o qfileinfo.o qdatetime.o qstringlist.o qabstractfileengine.o qtemporaryfile.o qmap.o qmetatype.o qsettings.o qsystemerror.o qlibraryinfo.o qvariant.o qvsnprintf.o qlocale.o qlocale_tools.o qlocale_unix.o qlinkedlist.o qurl.o qnumeric.o qcryptographichash.o qxmlstream.o qxmlutils.o qsettings_mac.o qcore_mac.o &#45;headerpad_max_install_names &#45;framework ApplicationServices
Project WARNING: Objective&#45;C source &apos;coreservices.mm&apos; found in SOURCES but should be in OBJECTIVE_SOURCES
strings: object: ./endiantest malformed object (unknown load command 16)
strings: object: ./endiantest malformed object (unknown load command 16)
rm &#45;f endiantest.o
rm &#45;f *~ core *.core
rm &#45;f endiantest 
rm &#45;f Makefile

My environment is OSX 10.6.8.
I follow the link: http://labs.qt.nokia.com/2011/08/09/update&#45;on&#45;uikit&#45;lighthouse&#45;platform/

	Any suggestion on how to pass the issue, or a better way/approach on how to build qt for iOS would be much appreciated. Basically in my App I used qt for backend and js RIA framework (trough QtWebkit) to frontend.]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/17394</guid>
            <pubDate>Mon, 21 May 2012 18:13:39 GMT</pubDate>
        </item>
	
        <item>
            <title>Installation Problems</title>
            <link>http://qt-project.org/forums/viewthread/17392</link>
            <author>Atomic_Sheep</author>
            <description><![CDATA[Hi, I just reinstalled my whole computer and tried installing Qt IDE. I had it on my old install and it worked fine. I don&#8217;t remember any issues when installing it last time. This time however, I&#8217;ve encountered 2 problems.

	I went to the http://qt.nokia.com/downloads site and d/l the only Windows offline installer file that available which was Qt SDK 1.2.1. Installed it on my non system partition i.e. D drive (system Partition is C) in the D:/QtSDK folder

	1.) Upon launching I got my first error:

	Plugin initialization failed: Could not find maintenance tool at &#8216;D:\QtSDK/SDKMaintenanceTool.exe&#8217;. Check your installation. 
I had a look around and it appears to be a bug, however I couldn&#8217;t find any solutions for it. In the D:/QtSDK/temp folder, I found SDKMaintenanceToolBase installer but when I click on it, nothing happens&#8230;

	2.) Second problem is that I don&#8217;t have a valid Qt version. Whenever I try to create a new project it comes up with that error and I&#8217;m unable to proceed and when I open old project, I can&#8217;t compile anything.

	Not sure how to solve these problems.]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/17392</guid>
            <pubDate>Mon, 21 May 2012 15:16:38 GMT</pubDate>
        </item>
	
        <item>
            <title>[Solved]cannot find qmake</title>
            <link>http://qt-project.org/forums/viewthread/17301</link>
            <author>luxifu1989</author>
            <description><![CDATA[I downloaded qt&#45;win&#45;opensource&#45;4.6.0&#45;vs2008.exe from the website and installed it correctly,then I installed qt&#45;vs&#45;addin&#45;1.1.10.exe.Everything works well.However,there was a problem when I wanted to update the version of QT.I downloaded qt&#45;win&#45;opensource&#45;4.8.0&#45;vs2008.exe and I uninstalled the qt&#45;vs&#45;addin and qt&#45;win&#45;opensource&#45;4.6.0&#45;vs2008. I installed qt&#45;win&#45;opensource&#45;4.8.0&#45;vs2008.exe and qt&#45;vs&#45;addin&#45;1.1.10.exe.But when I open my vc2008,choose &#8220;open QT Project File(.pro&#41;&#8221;,the error happened:  &#8220;cannot find qmake.Please make sure you have a specified QT version.&#8221; I don&#8217;t know why.Can anyone give me some advice?]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/17301</guid>
            <pubDate>Thu, 17 May 2012 10:58:30 GMT</pubDate>
        </item>
	
        <item>
            <title>Link download Qt 4.1.1</title>
            <link>http://qt-project.org/forums/viewthread/17298</link>
            <author>saobien39</author>
            <description><![CDATA[Hi everyone, I am reading ebook &#8220;C++ Gui Programming with Qt 4&#8221;, they used Qt 4.1.1, I&#8217;ve found it on Qt website but It wasn&#8217;t displayed. Ebook usually request using default templates of Qt 4.1.1.  Example as &#8220;Widget&#8221;, &#8220;Dialog with Buttons Right&#8221;&#8230; what Qt don&#8217;t supply currently. Everyone have link to download Qt 4.1.1?]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/17298</guid>
            <pubDate>Thu, 17 May 2012 10:16:10 GMT</pubDate>
        </item>
	
        <item>
            <title>Cant build for device error : MDeclarativeCache not found</title>
            <link>http://qt-project.org/forums/viewthread/17255</link>
            <author>Dakemz</author>
            <description><![CDATA[Hy,

	I keep getting this error when I try to build for my device: MDeclarativeCache no such file

	I searched everywhere but cant find a solution :( Any help would be greatly apreciated. Im on a Windows 7 machine running QtCreator 2.4.1

	Thanks
Dakemz]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/17255</guid>
            <pubDate>Wed, 16 May 2012 04:26:12 GMT</pubDate>
        </item>
	
        <item>
            <title>I get this error when trying to run the program outside of the simulator.</title>
            <link>http://qt-project.org/forums/viewthread/17251</link>
            <author>DanqueDynasty</author>
            <description><![CDATA[Any ideas on how to fix this? I am using the Mingw compiler.]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/17251</guid>
            <pubDate>Wed, 16 May 2012 00:36:03 GMT</pubDate>
        </item>
	
        <item>
            <title>updates</title>
            <link>http://qt-project.org/forums/viewthread/17208</link>
            <author>douglasv1</author>
            <description><![CDATA[I don&#8217;t see any update tool on the new QtCreator 2.5.0 on debian linux 64bit
Where can I find it?
Thank you,
Douglas

	I&#8217;m using the new QtCreator 2.5.0 on linux debian 64bit on Oracle vm virtualbox
It run&#8217;s flawlessly, can&#8217;t tell the difference from running on bare metal!]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/17208</guid>
            <pubDate>Mon, 14 May 2012 16:47:47 GMT</pubDate>
        </item>
	
        <item>
            <title>[Solved] QtTest project Linker errors on VS2010</title>
            <link>http://qt-project.org/forums/viewthread/17197</link>
            <author>Link0</author>
            <description><![CDATA[Hey guys,

	I&#8217;ve been having a problem trying to integrate QtTests into an existing project, and it&#8217;s kindly been responding with ridiculous linker errors. I&#8217;m probably doing something wrong, but i can&#8217;t even begin to know what.
We&#8217;re using Vs2010 on x64 versions of windows.

	Visual studio actually finds the appropriate header files, and the dependencies should be setup properly (project dependencies and add the SurprisedWhale). and yet, it keeps throwing these errors:

	1&amp;gt;&#45;&#45;&#45;&#45;&#45;&#45; Build started: Project: SurprisedWhale, Configuration: Debug Win32 &#45;&#45;&#45;&#45;&#45;&#45;
1&amp;gt; &amp;nbsp;SurprisedWhale.vcxproj &#45;&amp;gt; H:\Programming\SurprisedWhale\SurprisedWhale.exe
2&amp;gt;&#45;&#45;&#45;&#45;&#45;&#45; Build started: Project: SurprisedQtTest, Configuration: Debug Win32 &#45;&#45;&#45;&#45;&#45;&#45;
2&amp;gt;GateTest.obj : error LNK2019: unresolved external symbol &amp;quot;public: __thiscall Gate::~Gate(void)&amp;quot; &#40;??1Gate@@QAE@XZ&#41; referenced in function &amp;quot;private: void __thiscall GateTest::TypeTest(void)&amp;quot; &#40;?TypeTest@GateTest@@AAEXXZ&#41;
2&amp;gt;GateTest.obj : error LNK2019: unresolved external symbol &amp;quot;public: __thiscall Gate::Gate(enum Gate::Type)&amp;quot; &#40;??0Gate@@QAE@W4Type@0@@Z&#41; referenced in function &amp;quot;private: void __thiscall GateTest::TypeTest(void)&amp;quot; &#40;?TypeTest@GateTest@@AAEXXZ&#41;
2&amp;gt;H:\Programming\SurprisedWhale\\SurprisedQtTest.exe : fatal error LNK1120: 2 unresolved externals
========== Build: 1 succeeded, 1 failed, 0 up&#45;to&#45;date, 0 skipped ==========


	The files involved are:

	GateTest.h
#ifndef GATETEST_H
#define GATETEST_H
&amp;nbsp;
#include &amp;lt;QtTest&amp;gt;
class GateTest : public QObject
&#123;
&amp;nbsp;Q_OBJECT
private slots:
&amp;nbsp;void toUpper&#40;&#41;;
&amp;nbsp;void TypeTest&#40;&#41;;
&#125;;
&amp;nbsp;
#endif


	GateTest.cpp

	#include &amp;quot;GateTest.h&amp;quot;
#include &amp;quot;../SurprisedWhale/Gate.h&amp;quot;
&amp;nbsp;
&amp;nbsp;
void GateTest::TypeTest&#40;&#41;&#123;
&amp;nbsp;Gate gate = Gate&#40;Gate::NOT&#41;;
&amp;nbsp;QCOMPARE&#40;&#40;int&#41;gate.getType&#40;&#41;,0&#41;;
&#125;
void GateTest::toUpper&#40;&#41;
&#123;
&amp;nbsp;QString str = &amp;quot;Hello&amp;quot;;
&amp;nbsp;QCOMPARE&#40;str.toUpper&#40;&#41;, QString&#40;&amp;quot;HELLO&amp;quot;&#41;&#41;;
&#125;;


	If anyone has a clever idea, i&#8217;m dying to hear it.]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/17197</guid>
            <pubDate>Mon, 14 May 2012 13:00:03 GMT</pubDate>
        </item>
	
        <item>
            <title>Configure QT library error when I cross compile</title>
            <link>http://qt-project.org/forums/viewthread/17165</link>
            <author>enaud84</author>
            <description><![CDATA[Hi all,
I&#8217;m compiling the QT with phonon and phonon&#45;backend for my embedded board:
I type:

	./configure &#45;embedded arm &#45;xplatform qws/linux&#45;arm&#45;g++ &#45;qt&#45;mouse&#45;tslib &#45;L/home/user/ev&#45;sdk/rootfs/arm&#45;a8&#45;fs/usr/lib &#45;L/home/user/Desktop/qt&#45;everywhere&#45;opensource&#45;src&#45;4.8.1/lib &#45;I/home/user/ev&#45;sdk/rootfs/arm&#45;a8&#45;fs/usr/include &#45;I/home/user/ev&#45;sdk/rootfs/arm&#45;a8&#45;fs/usr/include/freetype2/freetype/config &#45;prefix /opt/qt_eng &#45;little&#45;endian &#45;no&#45;gif &#45;no&#45;libtiff &#45;no&#45;libmng &#45;no&#45;openssl &#45;no&#45;opengl &#45;no&#45;mmx &#45;no&#45;3dnow &#45;no&#45;sse &#45;no&#45;sse2 &#45;no&#45;largefile &#45;no&#45;sm &#45;svg &#45;v &#45;no&#45;feature&#45;cursor &#45;fast &#45;opensource &#45;release &#45;no&#45;multimedia &#45;no&#45;cups &#45;no&#45;nis &amp;nbsp;&#45;no&#45;exceptions &#45;nomake examples &#45;nomake demos &#45;no&#45;sql&#45;sqlite &#45;no&#45;g++&#45;exceptions &#45;phonon &#45;phonon&#45;backend &#45;DQT_NO_QWS_CURSOR &#45;DQT_THREAD_SUPPORT


	with qmake.conf in /home/user/Desktop/qt&#45;everywhere&#45;opensource&#45;src&#45;4.8.1/mkspecs/qws/linux&#45;arm&#45;g++:

	#
# qmake configuration for building with arm&#45;linux&#45;g++ #
&amp;nbsp;
&amp;nbsp;
include&#40;../../common/gcc&#45;base.conf&#41;
include&#40;../../common/gcc&#45;base&#45;unix.conf&#41;
include&#40;../../common/g++.conf&#41;
include&#40;../../common/linux.conf&#41;
include&#40;../../common/qws.conf&#41;
&amp;nbsp;
QMAKE_CFLAGS_RELEASE &amp;nbsp; &amp;nbsp; = &#45;O3 &#45;march=armv7&#45;a &#45;mtune=cortex&#45;a8 
&#45;mfpu=neon &#45;mfloat&#45;abi=softfp
&amp;nbsp;
DEFINES +=
&amp;nbsp;
# modifications to g++.conf
QMAKE_CC &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= sb2 &#45;t imx53 gcc
QMAKE_CXX &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = sb2 &#45;t imx53 g++
QMAKE_LINK &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= sb2 &#45;t imx53 g++
QMAKE_LINK_SHLIB &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= sb2 &#45;t imx53 g++
&amp;nbsp;
# modifications to linux.conf
QMAKE_AR &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= sb2 &#45;t imx53 ar cqs
QMAKE_OBJCOPY &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = sb2 &#45;t imx53 objcopy
QMAKE_STRIP &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = sb2 &#45;t imx53 strip
&amp;nbsp;
load&#40;qt_config&#41;


	If i remove &#45;phonon &#45;phonon&#45;backend
 from option the compilation is successful
If i put &#45;phonon &#45;phonon&#45;backend
 I have this error:

	.
.
.
D&#45;Bus auto&#45;detection... &#40;&#41;
Project WARNING: Your mkspec is including &apos;common/g++.conf&apos;, but the mkspecs have been refactored
&amp;nbsp;To fix this include &apos;common/gcc&#45;base&#45;.conf and &apos;common/g++&#45;.conf&apos; instead
sb2 &#45;t imx53 g++ &#45;c &#45;pipe &#45;pipe &#45;pipe &#45;pipe &#45;pipe &#45;pipe &#45;O2 &#45;O2 &#45;O2 &#45;O2 &#45;O2 &#45;O2 &#45;Wall &#45;W &#45;Wall &#45;W &#45;Wall &#45;W &#45;Wall &#45;W &#45;Wall &#45;W &#45;Wall &#45;W &amp;nbsp;&#45;I../../../mkspecs/qws/linux&#45;arm&#45;g++ &#45;I. &#45;I/home/user/ev&#45;sdk/rootfs/arm&#45;a8&#45;fs/usr/include &#45;I/home/user/ev&#45;sdk/rootfs/arm&#45;a8&#45;fs/usr/include/freetype2/freetype/config &#45;I/usr/lib/glib&#45;2.0/include &#45;I/usr/include/glib&#45;2.0 &#45;o dbus.o dbus.cpp
dbus.cpp:43:23: error: dbus/dbus.h: No such file or directory
dbus.cpp:46:2: error: #error Needs at least dbus version 1
dbus.cpp: In function &apos;int main&#40;int, char**&#41;&apos;:
dbus.cpp:51: error: &apos;dbus_shutdown&apos; was not declared in this scope
make: *** [dbus.o] Error 1
D&#45;Bus disabled.
Glib auto&#45;detection... ()
Project WARNING: Your mkspec is including &apos;common/g++.conf&apos;, but the mkspecs have been refactored
 To fix this include &apos;common/gcc&#45;base&#45;.conf and &apos;common/g++&#45;.conf&apos; instead
sb2 &#45;t imx53 g++ &#45;c &#45;pipe &#45;pipe &#45;pipe &#45;pipe &#45;pipe &#45;pipe &#45;O2 &#45;O2 &#45;O2 &#45;O2 &#45;O2 &#45;O2 &#45;Wall &#45;W &#45;Wall &#45;W &#45;Wall &#45;W &#45;Wall &#45;W &#45;Wall &#45;W &#45;Wall &#45;W &amp;nbsp;&#45;I../../../mkspecs/qws/linux&#45;arm&#45;g++ &#45;I. &#45;I/home/user/ev&#45;sdk/rootfs/arm&#45;a8&#45;fs/usr/include &#45;I/home/user/ev&#45;sdk/rootfs/arm&#45;a8&#45;fs/usr/include/freetype2/freetype/config &#45;I/usr/lib/glib&#45;2.0/include &#45;I/usr/include/glib&#45;2.0 &#45;o glib.o glib.cpp
glib.cpp: In function &apos;int main(int, char**)&apos;:
glib.cpp:55: warning: &apos;pollfd&apos; is used uninitialized in this function
sb2 &#45;t imx53 g++ &#45;Wl,&#45;O1 &#45;o glib glib.o &amp;nbsp; &amp;nbsp; &#45;L/home/user/ev&#45;sdk/rootfs/arm&#45;a8&#45;fs/usr/lib &#45;L/home/user/Desktop/qt&#45;everywhere&#45;opensource&#45;src&#45;4.8.1/lib 
*glib.o: In function `main&apos;:
glib.cpp:(.text+0x10): undefined reference to `g_thread_init&apos;
glib.cpp:&#40;.text+0x14&#41;: undefined reference to `g_main_context_default&apos;
glib.cpp:(.text+0x20): undefined reference to `g_source_new&apos;
glib.cpp:&#40;.text+0x28&#41;: undefined reference to `g_source_add_poll&apos;
glib.cpp:(.text+0x38): undefined reference to `g_threads_got_initialized&apos;
collect2: ld returned 1 exit status
make: *** &#91;glib&#93; Error 1*
Glib disabled.
Phonon support cannot be enabled due to functionality tests!
&amp;nbsp;Turn on verbose messaging &#40;&#45;v&#41; to ./configure to see the final report.
&amp;nbsp;If you believe this message is in error you may use the continue
&amp;nbsp;switch &#40;&#45;continue&#41; to ./configure to continue.


	I lost the last two days to understand why giving error &#8230; :(

	Someone could help me?

	thanks]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/17165</guid>
            <pubDate>Sat, 12 May 2012 11:52:19 GMT</pubDate>
        </item>
	
        <item>
            <title>Using different tool chain than the one used to build Qt</title>
            <link>http://qt-project.org/forums/viewthread/17150</link>
            <author>Stephen Chu</author>
            <description><![CDATA[I am kind of confused on the tool chains right now. Specifically, the dependencies on the libraries used.

	Say I build Qt 5 with default tool chain which is Apple LLVM (clang) on OS X 10.7. The resulting Qt dylibs depends on /usr/lib/libstdc++.6.dylib which is the only tool chain specific lib from what I can tell.

	Then I use a different tool chain, say GCC 4.7 from MacPorts, to build my own application. It will than depend on /opt/local/lib/gcc47/libstdc++.6.dylib.

	The resulting application will now link against 2 different copies (and versions) of libstdc++.6.dylib when run. My question is: will this be an issue?

	One possible fix (if it&#8217;s a problem) I can think of is to use GCC and specify &#45;static&#45;libstdc++ and &#45;static&#45;libgcc to build Qt and my app. Is this a good idea? Or can I just use install_name_tool to change my app&#8217;s dependency to the /usr/lib one?

	Thanks.]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/17150</guid>
            <pubDate>Fri, 11 May 2012 17:25:39 GMT</pubDate>
        </item>
	

	</channel>
</rss>
