Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 7

Qt-interest Archive, May 2008
qt embedded linux 4.5 snapshot build fail for x86


Message 1 in thread

HI!

I took the snapshot of the Qt embedded 4.5  for linux.
While building for x86 I get the following error. Can
someone please help in in identifying the problem?

regards

-Nitin

 -I../../../shared/fontpanel
-I.moc/release-shared-emb-x86
-I.uic/release-shared-emb-x86 -o
.obj/release-shared-emb-x86/bookmarkmanager.o
bookmarkmanager.cpp
bookmarkmanager.cpp: In member function ?void
BookmarkDialog::selectBookmarkFolder(const QString&)?:
bookmarkmanager.cpp:205: error: invalid initialization
of non-const reference of type ?QModelIndex&? from a
temporary of type ?QModelIndex?
bookmarkmanager.cpp: In member function ?void
BookmarkDialog::customContextMenuRequested(const
QPoint&)?:
bookmarkmanager.cpp:213: error: invalid initialization
of non-const reference of type ?QModelIndex&? from a
temporary of type ?QModelIndex?
bookmarkmanager.cpp: In member function ?virtual bool
BookmarkDialog::eventFilter(QObject*, QEvent*)?:
bookmarkmanager.cpp:269: error: invalid initialization
of non-const reference of type ?QModelIndex&? from a
temporary of type ?QModelIndex?
bookmarkmanager.cpp: In member function ?void
BookmarkWidget::filterChanged()?:
bookmarkmanager.cpp:343: error: invalid initialization
of non-const reference of type ?QModelIndex&? from a
temporary of type ?QModelIndex?
bookmarkmanager.cpp: In member function ?void
BookmarkWidget::customContextMenuRequested(const
QPoint&)?:
bookmarkmanager.cpp:371: error: invalid initialization
of non-const reference of type ?QModelIndex&? from a
temporary of type ?QModelIndex?
bookmarkmanager.cpp: In member function ?virtual void
BookmarkWidget::focusInEvent(QFocusEvent*)?:
bookmarkmanager.cpp:516: error: invalid initialization
of non-const reference of type ?QModelIndex&? from a
temporary of type ?QModelIndex?
bookmarkmanager.cpp: In member function ?virtual bool
BookmarkWidget::eventFilter(QObject*, QEvent*)?:
bookmarkmanager.cpp:527: error: invalid initialization
of non-const reference of type ?QModelIndex&? from a
temporary of type ?QModelIndex?
bookmarkmanager.h: In constructor
?BookmarkManager::BookmarkManager(QHelpEngineCore*)?:
bookmarkmanager.h:195: warning:
?BookmarkManager::helpEngine? will be initialized
after
bookmarkmanager.h:192: warning:   ?BookmarkModel*
BookmarkManager::treeModel?
bookmarkmanager.cpp:611: warning:   when initialized
here
make[4]: ***
[.obj/release-shared-emb-x86/bookmarkmanager.o] Error
1
make[4]: Leaving directory
`/home/nitin/works2/works/qt-embedded-linux-4.5/tools/assistant/tools/assistant'
make[3]: *** [sub-assistant-make_default-ordered]
Error 2
make[3]: Leaving directory
`/home/nitin/works2/works/qt-embedded-linux-4.5/tools/assistant/tools'
make[2]: *** [sub-tools-make_default-ordered] Error 2
make[2]: Leaving directory
`/home/nitin/works2/works/qt-embedded-linux-4.5/tools/assistant'
make[1]: *** [sub-assistant-make_default-ordered]
Error 2
make[1]: Leaving directory
`/home/nitin/works2/works/qt-embedded-linux-4.5/tools'
make: *** [sub-tools-make_default-ordered] Error 2

Send instant messages to your online friends http://uk.messenger.yahoo.com 

--
 [ signature omitted ] 

Message 2 in thread

Hi,

Which compiler is this?

-- 
 [ signature omitted ] 

Message 3 in thread

HI!

--- On Sat, 31/5/08, Dimitri <dimitri@xxxxxxxxxxxxx> wrote:

> From: Dimitri <dimitri@xxxxxxxxxxxxx>
> Subject: Re: qt embedded linux 4.5 snapshot build fail for x86
> To: qt-interest@xxxxxxxxxxxxx
> Date: Saturday, 31 May, 2008, 1:34 PM
> Hi,
> 
> Which compiler is this?
gcc version 4.2.3, and machine Ubuntu Hardy.

confuguration options are -no-webkit -qvfb. One day prior I had built the snapshot. But next time again the latest snapshot did not build.

Please tell me how to do some thing like 'svn update' with rsync ?

> 
> -- 
> Dimitri
> 
regards

-Nitin

> --
> To unsubscribe - send a mail to
> qt-interest-request@xxxxxxxxxxxxx with
> "unsubscribe" in the subject or the body.
> List archive and information:
> http://lists.trolltech.com/qt-interest/

Send instant messages to your online friends http://uk.messenger.yahoo.com

--
 [ signature omitted ] 

Message 4 in thread

Nitin Mahajan wrote:
>confuguration options are -no-webkit -qvfb. One day prior I had built
> the snapshot. But next time again the latest snapshot did not build.

If you build from the snapshot, you will have to expect such things to 
happen. The snapshots are sometimes be taken from a state of the Qt 
repository that doesn't build. In general those are fixed very soon, but 
since snapshots only generate once a day, you'll have to wait 24 hours.

If the issue is simple, you can always send us the patch :-)

>Please tell me how to do some thing like 'svn update' with rsync ?

Just run the same command again.

-- 
 [ signature omitted ] 

Attachment: signature.asc
Description: This is a digitally signed message part.