ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Ltib] Re: create hello_world using qt


From: aydemir kala
Subject: [Ltib] Re: create hello_world using qt
Date: Sun, 28 Nov 2010 23:26:18 +0200

Hi Arne,
 
I am getting a segmentation error while i try running qt applications on my arm board. For example on the console 
#./my_hello_app -qws  
Segmentation Fault
 
my configuration script is
./configure -embedded arm -xplatform qws/linux-arm-gnueabi-g++ -little-endian -depth 16 -opensource -prefix /home/aydemir/projects/qt -v -L/home/aydemir/ltib/rootfs/usr/lib/ts -I/home/aydemir/ltib/rootfs/usr/include -L/home/aydemir/ltib/rootfs/usr/lib
 
Also i created application by this command: qmake -spec qws/linux-arm-gnueabi-g++
 
I copied all of  /home/aydemir/projects/qt/lib   into target rootfs/lib/.
 
I dont know where is my mistake. Could you help please?
 
Best Regards
Aydemir

 
On Tue, Nov 23, 2010 at 5:23 PM, Burghardt Arne <address@hidden> wrote:

Hi Aydemir,

 

you need two different Qt libraries & qmake executables:

 

The first one is for your x86 host computer. Usually you are using the executables which are bundled in the SDK (http://qt.nokia.com/downloads/sdk-linux-x11-32bit-cpp).

 

The second one is for your ARM target. You have to use the framework only edition for embedded linux (http://qt.nokia.com/downloads/embedded-linux-cpp). This configuration/make/make install process builds the qmake executable and the necessary libraries for your ARM processor.

 

How to switch between a compilation for ARM and x86 processors ? This can be done fairly simple in the Creator IDE (just have a look here: http://doc.qt.nokia.com/qtcreator-2.0/creator-build-settings.html). You have to add the ARM build setting, which is in fact just telling Qt to use the “ARM” qmake. Then it will automatically build an ARM executable, which can be copied to your target.

 

Hope this helps to clarify the situation a little bit…

 

Best regards

 

  Arne

 


Von: aydemir kala [mailto:address@hidden]
Gesendet: Dienstag, 23. November 2010 15:35
An: Burghardt Arne; address@hidden
Betreff: create hello_world using qt

 

Hi Arne,

I have installed qt-everywhere on my Fedora host PC as for target arm lpc3250 board using linux-arm-g++ compiler. You said create a hello world application and copy it to target board. I created hello world application on my Fedora PC and tested it. Now i want to move it to my QT_DIR/ and recompile it for my lpc3250 arm board. But i dont know how it can be? Could you please help me? (My main aim is to understand how can we transfer source code that we tested on an other platform such as linux fedora and then recompile it for target board such as arm 3250)

Best Regards

Aydemir

On Thu, Sep 30, 2010 at 10:24 PM, <address@hidden> wrote:

Send Ltib mailing list submissions to
       address@hidden

To subscribe or unsubscribe via the World Wide Web, visit
       http://lists.nongnu.org/mailman/listinfo/ltib
or, via email, send a message with subject or body 'help' to
       address@hidden

You can reach the person managing the list at
       address@hidden

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Ltib digest..."


Today's Topics:

  1. Build results for 20100930 (autobuilder)
  2. Re: install qt problem (Stuart Hughes)


----------------------------------------------------------------------

Message: 1
Date: Thu, 30 Sep 2010 13:44:06 -0400
From: autobuilder <address@hidden>
Subject: [Ltib] Build results for 20100930
To: ltib-users <address@hidden>
Message-ID: <address@hidden>
Content-Type: text/plain; charset="us-ascii"

An HTML attachment was scrubbed...
URL: http://lists.nongnu.org/archive/html/ltib/attachments/20100930/fdf39218/attachment.html

------------------------------

Message: 2
Date: Thu, 30 Sep 2010 20:24:09 +0100
From: Stuart Hughes <address@hidden>
Subject: Re: [Ltib] install qt problem
To: Burghardt Arne <address@hidden>
Cc: address@hidden, aydemir kala <address@hidden>
Message-ID: <address@hidden>
Content-Type: text/plain; charset=ISO-8859-1

Hi Arne,

Thanks for the detailed instructions.  It would be nice to get the LTIB
package updated at some point (if I ever get time).  If someone else
beats me to it, that would be great too.

Regards, Stuart

Burghardt Arne wrote:
> Hi Aydemir,
>
> first of all, please have a look at the latest installtion procedure for Qt:
> http://doc.qt.nokia.com/4.7/qt-embedded-install.html
>
> Some more hints:
> 1) I would recommend to install the Qt source package outside of the
> ltib path, because it has nothing to do with ltib.
>
> 2) Set your PATH environment variable to include the bin directory of
> the GCC tools for ARM (/opt/freescale/..., the path i told you yesterday)
>
> 3) You have to setup the configure option. Very important parameters are
> "-embedded arm" and "-xplatform qws/linux-arm-g++", otherwise it would
> compile for your host system. You can see all available switches, if you
> run the command "./configure -embedded arm -help"
>
> Here is my configure script as an example (without building all the Qt
> examples & demos):
> ./configure -embedded arm -xplatform qws/linux-arm-g++ -no-qt3support
> -no-multimedia -no-audio-backend -no-phonon -no-webkit
> -no-_javascript_-jit -little-endian -depths 16 -no-opengl -qt-gfx-linuxfb
> -qt-mouse-tslib -opensource -nomake demos -nomake examples -prefix
> /home/user/projects/qt -v -L/home/user/ltib/rootfs/usr/lib/ts
> -I/home/user/ltib/rootfs/usr/include -L/home/user/ltib/rootfs/usr/lib
>
> 4) Now type "make", hit the return key and you have time to drink some
> coffee for 1-1.5 hours...
>
> 5) "make install" to setup the libraries
>
> 6) Copy at least the libQtGui, libQtCore and libQtNetwork libraries from
> the QT_DIR/lib to your target lib (e.g. /home/user/ltib/rootfs/lib). If
> you are planning to use e.g. some webservices, you should copy the
> appropriate libraries, too.
>
> 7) Copy at least one font from the QT_DIR/lib/font directory to the
> target lib/font directory
>
> 8) Create a hello world program for Qt, copy it to a suitable
> destination (e.g. /home/user/ltib/rootfs/usr/local/bin) and start it on
> your target with "helloworld -qws". The parameter "-qws" tells Qt to use
> its own window system, which is neccessary, if you don't install a full
> X system on your target.
>
> That's all :-)
>
>   Arne
>
>
> P.S. You should keep the ltib mailing list address in CC, because maybe
> someone has a similar question and is happy, if he/she is able to find
> an answer or a clue to his problem... ;-)
>
>
> -----Ursprüngliche Nachricht-----
> Von: aydemir kala [mailto:address@hidden]
> Gesendet: Mi 29.09.2010 11:54
> An: Burghardt Arne
> Betreff: Re: [Ltib] install qt problem
>
> Hi Arne,
>
> i downloaded qt from the side you linked. i moved the
> qt-everywhere-opensource-src-4.7.0.tar.gz to
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/ directory
> i drop down to ltib shell
> ./ltib -m shell
> and i did these
> LTIB> tar -zxvf qt-everywhere-opensource-src-4.7.0.tar.gz
> LTIB> cd qt-everywhere-opensource-src-4.7.0
> LTIB> ./configure
>
> Creating qmake. Please wait...
> gmake: Nothing to be done for `first'.
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.7.0/config.tests/unix/compile.test:
> line 71:
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.7.0/bin/qmake:
> cannot execute binary file
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.7.0/config.tests/unix/compile.test:
> line 71:
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.7.0/bin/qmake:
> cannot execute binary file
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.7.0/config.tests/unix/compile.test:
> line 71:
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.7.0/bin/qmake:
> cannot execute binary file
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.7.0/config.tests/unix/compile.test:
> line 71:
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.7.0/bin/qmake:
> cannot execute binary file
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.7.0/config.tests/unix/compile.test:
> line 71:
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.7.0/bin/qmake:
> cannot execute binary file
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.7.0/config.tests/unix/compile.test:
> line 71:
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.7.0/bin/qmake:
> cannot execute binary file
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.7.0/config.tests/unix/compile.test:
> line 71:
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.7.0/bin/qmake:
> cannot execute binary file
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.7.0/config.tests/unix/compile.test:
> line 71:
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.7.0/bin/qmake:
> cannot execute binary file
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.7.0/config.tests/unix/compile.test:
> line 71:
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.7.0/bin/qmake:
> cannot execute binary file
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.7.0/config.tests/unix/compile.test:
> line 71:
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.7.0/bin/qmake:
> cannot execute binary file
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.7.0/config.tests/unix/compile.test:
> line 71:
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.7.0/bin/qmake:
> cannot execute binary file
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.7.0/config.tests/unix/compile.test:
> line 71:
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.7.0/bin/qmake:
> cannot execute binary file
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.7.0/config.tests/unix/compile.test:
> line 71:
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.7.0/bin/qmake:
> cannot execute binary file
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.7.0/config.tests/unix/compile.test:
> line 71:
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.7.0/bin/qmake:
> cannot execute binary file
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.7.0/config.tests/unix/compile.test:
> line 71:
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.7.0/bin/qmake:
> cannot execute binary file
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.7.0/config.tests/unix/compile.test:
> line 71:
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.7.0/bin/qmake:
> cannot execute binary file
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.7.0/config.tests/unix/compile.test:
> line 71:
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.7.0/bin/qmake:
> cannot execute binary file
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.7.0/config.tests/unix/compile.test:
> line 71:
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.7.0/bin/qmake:
> cannot execute binary file
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.7.0/config.tests/unix/compile.test:
> line 71:
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.7.0/bin/qmake:
> cannot execute binary file
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.7.0/config.tests/unix/compile.test:
> line 71:
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.7.0/bin/qmake:
> cannot execute binary file
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.7.0/config.tests/unix/compile.test:
> line 71:
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.7.0/bin/qmake:
> cannot execute binary file
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.7.0/config.tests/unix/compile.test:
> line 71:
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.7.0/bin/qmake:
> cannot execute binary file
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.7.0/config.tests/unix/compile.test:
> line 71:
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.7.0/bin/qmake:
> cannot execute binary file
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.7.0/config.tests/unix/compile.test:
> line 71:
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.7.0/bin/qmake:
> cannot execute binary file
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.7.0/config.tests/unix/compile.test:
> line 71:
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.7.0/bin/qmake:
> cannot execute binary file
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.7.0/config.tests/unix/compile.test:
> line 71:
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.7.0/bin/qmake:
> cannot execute binary file
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.7.0/config.tests/unix/compile.test:
> line 71:
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.7.0/bin/qmake:
> cannot execute binary file
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.7.0/config.tests/unix/compile.test:
> line 71:
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.7.0/bin/qmake:
> cannot execute binary file
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.7.0/config.tests/unix/compile.test:
> line 71:
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.7.0/bin/qmake:
> cannot execute binary file
> Basic XLib functionality test failed!
>  You might need to modify the include and library search paths by editing
>  QMAKE_INCDIR_X11 and QMAKE_LIBDIR_X11 in
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.7.0/mkspecs/linux-g++.
> LTIB>
>
> gives me the error.
>
> Could you help me?
>
> Best Regards
> aydemir
>
>
>
> On Tue, Sep 28, 2010 at 5:42 PM, Burghardt Arne
> <address@hidden>wrote:
>
>>  Hi Aydemir,
>>
>> to install Qt on your board, you should download the latest Qt package
> from
>> this link, because the provided ltib packages are a bit outdated:
>> http://qt.nokia.com/downloads/embedded-linux-cpp
>>
>> Configure & compile it with the GCC ARM cross compiler tools located in
>>
> /opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/bin
>> .
>> Afterwards deploy the Qt libraries & fonts to the ltib/rootfs/lib
>> directory.
>>
>> That's it :-)
>>
>> Best regards
>>
>>   Arne
>>
>> -----Ursprüngliche Nachricht-----
>> Von: aydemir kala [mailto:address@hidden <address@hidden>]
>> Gesendet: Di 28.09.2010 15:13
>> An: address@hidden
>> Betreff: [Ltib] install qt problem
>>
>>
>> Hi,
>>
>> I am trying to install qt on my ea3131 board (kernel 2.6.28) but i got
>> following error. Could anyone help me please?
>>
>>
>>
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qtopia-4-4.3.0/qtopia-opensource-4.3.0/src/plugins/viewers/smil/smilviewer.h:30:37:
>> error: qtopia/mail/qmailviewer.h: No such file or directory
>>
>>
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qtopia-4-4.3.0/qtopia-opensource-4.3.0/src/plugins/viewers/smil/smilviewer.h:31:43:
>> error: qtopia/mail/qmailviewerplugin.h: No such file or directory
>>
>>
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qtopia-4-4.3.0/qtopia-opensource-4.3.0/src/plugins/viewers/smil/smilviewer.cpp:32:24:
>> error: QMailMessage: No such file or directory
>>
>>
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qtopia-4-4.3.0/qtopia-opensource-4.3.0/src/plugins/viewers/smil/smilviewer.h:43:
>> error: expected class-name before '{' token
>>
>>
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qtopia-4-4.3.0/qtopia-opensource-4.3.0/src/plugins/viewers/smil/smilviewer.h:74:
>> error: expected class-name before '{' token
>>
>>
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qtopia-4-4.3.0/qtopia-opensource-4.3.0/src/plugins/viewers/smil/smilviewer.h:81:
>> error: 'QMailViewerFactory' has not been declared
>>
>>
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qtopia-4-4.3.0/qtopia-opensource-4.3.0/src/plugins/viewers/smil/smilviewer.h:81:
>> error: expected ',' or '...' before 'type'
>>
>>
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qtopia-4-4.3.0/qtopia-opensource-4.3.0/src/plugins/viewers/smil/smilviewer.h:83:
>> error: ISO C++ forbids declaration of 'QMailViewerInterface' with no type
>>
>>
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qtopia-4-4.3.0/qtopia-opensource-4.3.0/src/plugins/viewers/smil/smilviewer.h:83:
>> error: expected ';' before '*' token
>>
>>
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qtopia-4-4.3.0/qtopia-opensource-4.3.0/src/plugins/viewers/smil/smilviewer.h:74:
>> warning: 'class SmilViewerPlugin' has virtual functions but non-virtual
>> destructor
>>
>>
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qtopia-4-4.3.0/qtopia-opensource-4.3.0/src/plugins/viewers/smil/smilviewer.cpp:
>> In constructor 'SmilViewer::SmilViewer(QWidget*)':
>>
>>
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qtopia-4-4.3.0/qtopia-opensource-4.3.0/src/plugins/viewers/smil/smilviewer.cpp:35:
>> error: class 'SmilViewer' does not have any field named
>> 'QMailViewerInterface'
>>
>>
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qtopia-4-4.3.0/qtopia-opensource-4.3.0/src/plugins/viewers/smil/smilviewer.cpp:40:
>> error: no matching function for call to
>> 'SmilView::installEventFilter(SmilViewer* const)'
>>
>>
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qtopia-4-4.3.0/build/qtopiacore/target/include/QtCore/../../../../../qtopia-opensource-4.3.0/qtopiacore/qt/src/corelib/kernel/qobject.h:180:
>> note: candidates are: void QObject::installEventFilter(QObject*)
>>
>>
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qtopia-4-4.3.0/qtopia-opensource-4.3.0/src/plugins/viewers/smil/smilviewer.cpp:44:
>> error: 'connect' was not declared in this scope
>>
>>
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qtopia-4-4.3.0/qtopia-opensource-4.3.0/src/plugins/viewers/smil/smilviewer.cpp:
>> In member function 'QString SmilViewer::findStartMarker() const':
>>
>>
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qtopia-4-4.3.0/qtopia-opensource-4.3.0/src/plugins/viewers/smil/smilviewer.cpp:63:
>> error: 'QMailMessageContentType' was not declared in this scope
>>
>>
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qtopia-4-4.3.0/qtopia-opensource-4.3.0/src/plugins/viewers/smil/smilviewer.cpp:63:
>> error: expected `;' before 'type'
>>
>>
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qtopia-4-4.3.0/qtopia-opensource-4.3.0/src/plugins/viewers/smil/smilviewer.cpp:64:
>> error: 'type' was not declared in this scope
>>
>>
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qtopia-4-4.3.0/qtopia-opensource-4.3.0/src/plugins/viewers/smil/smilviewer.cpp:65:
>> error: invalid use of undefined type 'const struct QMailMessage'
>>
>>
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qtopia-4-4.3.0/qtopia-opensource-4.3.0/src/plugins/viewers/smil/smilviewer.h:37:
>> error: forward declaration of 'const struct QMailMessage'
>>
>>
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qtopia-4-4.3.0/qtopia-opensource-4.3.0/src/plugins/viewers/smil/smilviewer.cpp:67:
>> error: 'type' was not declared in this scope
>>
>>
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qtopia-4-4.3.0/qtopia-opensource-4.3.0/src/plugins/viewers/smil/smilviewer.cpp:
>> In member function 'virtual bool SmilViewer::setMessage(const
>> QMailMessage&)':
>>
>>
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qtopia-4-4.3.0/qtopia-opensource-4.3.0/src/plugins/viewers/smil/smilviewer.cpp:82:
>> error: invalid use of undefined type 'const struct QMailMessage'
>>
>>
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qtopia-4-4.3.0/qtopia-opensource-4.3.0/src/plugins/viewers/smil/smilviewer.h:37:
>> error: forward declaration of 'const struct QMailMessage'
>>
>>
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qtopia-4-4.3.0/qtopia-opensource-4.3.0/src/plugins/viewers/smil/smilviewer.cpp:83:
>> error: expected initializer before '&' token
>>
>>
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qtopia-4-4.3.0/qtopia-opensource-4.3.0/src/plugins/viewers/smil/smilviewer.cpp:84:
>> error: 'part' was not declared in this scope
>>
>>
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qtopia-4-4.3.0/qtopia-opensource-4.3.0/src/plugins/viewers/smil/smilviewer.cpp:90:
>> error: expected initializer before '&' token
>>
>>
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qtopia-4-4.3.0/qtopia-opensource-4.3.0/src/plugins/viewers/smil/smilviewer.cpp:91:
>> error: 'part' was not declared in this scope
>>
>>
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qtopia-4-4.3.0/qtopia-opensource-4.3.0/src/plugins/viewers/smil/smilviewer.cpp:
>> In member function 'virtual bool SmilViewer::eventFilter(QObject*,
>> QEvent*)':
>>
>>
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qtopia-4-4.3.0/qtopia-opensource-4.3.0/src/plugins/viewers/smil/smilviewer.cpp:110:
>> error: 'finished' was not declared in this scope
>>
>>
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qtopia-4-4.3.0/qtopia-opensource-4.3.0/src/plugins/viewers/smil/smilviewer.cpp:
>> In member function 'void SmilViewer::requestTransfer(SmilDataSource*,
> const
>> QString&)':
>>
>>
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qtopia-4-4.3.0/qtopia-opensource-4.3.0/src/plugins/viewers/smil/smilviewer.cpp:210:
>> error: invalid use of undefined type 'const struct QMailMessage'
>>
>>
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qtopia-4-4.3.0/qtopia-opensource-4.3.0/src/plugins/viewers/smil/smilviewer.h:37:
>> error: forward declaration of 'const struct QMailMessage'
>>
>>
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qtopia-4-4.3.0/qtopia-opensource-4.3.0/src/plugins/viewers/smil/smilviewer.cpp:211:
>> error: expected initializer before '&' token
>>
>>
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qtopia-4-4.3.0/qtopia-opensource-4.3.0/src/plugins/viewers/smil/smilviewer.cpp:212:
>> error: 'part' was not declared in this scope
>>
>>
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qtopia-4-4.3.0/qtopia-opensource-4.3.0/src/plugins/viewers/smil/smilviewer.cpp:221:
>> error: 'QMailMessageBody' has not been declared
>>
>>
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qtopia-4-4.3.0/qtopia-opensource-4.3.0/src/plugins/viewers/smil/smilviewer.cpp:226:
>> error: 'QFile' was not declared in this scope
>>
>>
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qtopia-4-4.3.0/qtopia-opensource-4.3.0/src/plugins/viewers/smil/smilviewer.cpp:226:
>> error: 'file' was not declared in this scope
>>
>>
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qtopia-4-4.3.0/qtopia-opensource-4.3.0/src/plugins/viewers/smil/smilviewer.cpp:226:
>> error: expected type-specifier before 'QFile'
>>
>>
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qtopia-4-4.3.0/qtopia-opensource-4.3.0/src/plugins/viewers/smil/smilviewer.cpp:226:
>> error: expected `;' before 'QFile'
>>
>>
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qtopia-4-4.3.0/qtopia-opensource-4.3.0/src/plugins/viewers/smil/smilviewer.cpp:
>> In function 'QObject* qt_plugin_instance()':
>>
>>
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qtopia-4-4.3.0/qtopia-opensource-4.3.0/src/plugins/viewers/smil/smilviewer.cpp:244:
>> error: no match for 'operator=' in '_instance =
>> (((SmilViewerPlugin*)operator new(4u)),
>> (<anonymous>->SmilViewerPlugin::SmilViewerPlugin(), <anonymous>))'
>>
>>
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qtopia-4-4.3.0/build/qtopiacore/target/include/QtCore/../../../../../qtopia-opensource-4.3.0/qtopiacore/qt/src/corelib/kernel/qpointer.h:60:
>> note: candidates are: QPointer<T>& QPointer<T>::operator=(const
>> QPointer<T>&) [with T = QObject]
>>
>>
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qtopia-4-4.3.0/build/qtopiacore/target/include/QtCore/../../../../../qtopia-opensource-4.3.0/qtopiacore/qt/src/corelib/kernel/qpointer.h:62:
>> note:                 QPointer<T>& QPointer<T>::operator=(T*) [with T =
>> QObject]
>>
>>
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qtopia-4-4.3.0/qtopia-opensource-4.3.0/src/plugins/viewers/smil/smilviewer.cpp:
>> In constructor 'SmilViewerPlugin::SmilViewerPlugin()':
>>
>>
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qtopia-4-4.3.0/qtopia-opensource-4.3.0/src/plugins/viewers/smil/smilviewer.cpp:247:
>> error: class 'SmilViewerPlugin' does not have any field named
>> 'QMailViewerPlugin'
>>
>>
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qtopia-4-4.3.0/qtopia-opensource-4.3.0/src/plugins/viewers/smil/smilviewer.cpp:
>> At global scope:
>>
>>
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qtopia-4-4.3.0/qtopia-opensource-4.3.0/src/plugins/viewers/smil/smilviewer.cpp:256:
>> error: 'bool SmilViewerPlugin::isSupported' is not a static member of
>> 'class
>> SmilViewerPlugin'
>>
>>
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qtopia-4-4.3.0/qtopia-opensource-4.3.0/src/plugins/viewers/smil/smilviewer.cpp:256:
>> error: 'QMailViewerFactory' has not been declared
>>
>>
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qtopia-4-4.3.0/qtopia-opensource-4.3.0/src/plugins/viewers/smil/smilviewer.cpp:256:
>> error: expected ',' or ';' before 'const'
>>
>>
> /EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qtopia-4-4.3.0/qtopia-opensource-4.3.0/src/plugins/viewers/smil/smilviewer.cpp:261:
>> error: expected constructor, destructor, or type conversion before '*'
>> token
>> make[6]: *** [.obj/release-shared/smilviewer.o] Error 1
>> make[6]: Leaving directory
>>
>>
> `/EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qtopia-4-4.3.0/build/src/plugins/viewers/smil'
>> make[5]: *** [all] Error 2
>> make[5]: Leaving directory
>>
>>
> `/EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qtopia-4-4.3.0/build/src/plugins/viewers/smil'
>> make[4]: *** [all] Error 2
>> make[4]: Leaving directory
>>
>>
> `/EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qtopia-4-4.3.0/build/src/plugins/viewers/smil'
>> make[3]: *** [sub-plugins-viewers-smil] Error 2
>> make[3]: Leaving directory
>> `/EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qtopia-4-4.3.0/build/src'
>> make[2]: *** [all] Error 2
>> make[2]: Leaving directory
>> `/EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qtopia-4-4.3.0/build/src'
>> make[1]: *** [qtopia_all] Error 2
>> make[1]: Leaving directory
>> `/EA3131/FrameWorks/LTIB/ltib/rpm/BUILD/qtopia-4-4.3.0/build'
>> make: *** [all] Error 2
>> error: Bad exit status from /EA3131/FrameWorks/LTIB/ltib/tmp/rpm-tmp.57151
>> (%build)
>>
>>
>> RPM build errors:
>>     Bad exit status from /EA3131/FrameWorks/LTIB/ltib/tmp/rpm-tmp.57151
>> (%build)
>> Build time for qtopia-4: 3379 seconds
>>
>> Failed building qtopia-4
>>
>>
>> f_buildrpms() returned an error, exiting
>> traceback:
>>  main:567
>>
>>
>> Started: Tue Sep 28 17:36:37 2010
>> Ended:   Tue Sep 28 18:52:56 2010
>> Elapsed: 4579 seconds
>>
>> These packages failed to build:
>> qtopia-4
>>
>> Build Failed
>>
>> Exiting on error or interrupt
>>
>>
>> Aydemir
>>
>>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> LTIB home page: http://ltib.org
>
> Ltib mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/ltib



------------------------------

_______________________________________________
Ltib mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/ltib


End of Ltib Digest, Vol 53, Issue 44
************************************

 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]