incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Engelhart <emman...@engelhart.org>
Subject Re: [cordova-qt] first steps - compilation issue
Date Thu, 31 May 2012 14:41:21 GMT
Thank you Jeff for your hint. Thought I would have a way without 
compiling Qt5 on my own. So, I have followed the instructions: 
unfortunately qt5 does not compile on my computer:

g++ -c -pipe -O2 -fvisibility=hidden -fvisibility-inlines-hidden -Wall 
-W -D_REENTRANT -fPIC -DQT_SHARED -DQT_NO_LIBUDEV 
-DQT_BUILD_CONTACTS_LIB -DQT_MAKEDLL -DQT_NO_CAST_TO_ASCII 
-DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER 
-DQT_NO_DEBUG -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE 
-DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3 -DQT_HAVE_SSSE3 
-DQT_HAVE_SSE4_1 -DQT_HAVE_SSE4_2 -DQT_HAVE_AVX -D_LARGEFILE64_SOURCE 
-D_LARGEFILE_SOURCE -I../../../qtbase/mkspecs/linux-g++ -I. 
-I../../../qtbase/include/QtCore/5.0.0 
-I../../../qtbase/include/QtCore/5.0.0/QtCore 
-I../../../qtbase/include/QtCore -I../../../qtbase/include 
-I../../include/QtContacts/5.0.0 
-I../../include/QtContacts/5.0.0/QtContacts -I../../include 
-I../../include/QtContacts -I../../include -I.rcc/release-shared 
-Idetails -I. -Iengines -Ifilters -Irequests -I.moc/release-shared -o 
.obj/release-shared/qcontactmanagerengine.o qcontactmanagerengine.cpp
qcontactmanager.cpp: In function ‘QMetaMethod 
QtContacts::proxyToSourceSignal(const QMetaMethod&, QObject*)’:
qcontactmanager.cpp:896:61: error: ‘const class QMetaMethod’ has no 
member named ‘methodSignature’
qcontactmanager.cpp: In member function ‘void 
QtContacts::QContactManager::disconnectNotify(const QMetaMethod&)’:
qcontactmanager.cpp:924:34: error: ‘isSignalConnected’ was not declared 
in this scope

Emmanuel

On 05/31/2012 02:46 PM, Jeff Tranter wrote:
> Emmanuel:
>
> Have a look at the instructions here and see if they help:
>
> http://qt-project.org/wiki/PhoneGap-for-Qt-5#2ffb98a13047e703ba45500dc134aebf
>
>
>
> On 12-05-31 07:55 AM, Emmanuel Engelhart wrote:
>> Hi,
>>
>> I'm new with cordova *and* Qt and wanted to compile the cordova-qt stub
>> app. I use Ubuntu 12.04 and the Qt5 packages coming from the Nokia
>> Ubuntu PPA. I have cloned the cordova-qt code from github. To open the
>> cordovaqt.pro file, I have had to install the qtcreator of qt4, and also
>> of course the qt4 qmake (no package for qt5). I tried to compile
>> cordova-qt in qtcreator, but I failed. The problem is that it does not
>> find the QFeedbackHapticsEffect.h, line 22 in notifications.cpp. As far
>> as I have understood , qtcreator tries to compile cordova-qt in qt4
>> mode. It should not, but no idea how to change that :(
>>
>> Does someone knows what I should do now to get cordova-qt compiling
>> against qt5.
>>
>> Regards
>> Emmanuel


Mime
View raw message