2009-03-21 17:25:37     Cannot find qt

Document created by Aaronwu Employee on Aug 14, 2013
Version 1Show Document
  • View in full screen mode

2009-03-21 17:25:37     Cannot find qt

Gregory Hassett (UNITED STATES)

Message: 71342   

 

Hello, I have what I hope is a simple question -- where do I find QT !?

 

My understanding is that it is integrated into the uClinux, and that there should be a 'libqt' directory under the libs directory in the build, but I cannot find it when browsing with Subversion.  I cannot find a qt-embedded directory, either.

 

I have checked out uClinux-dist-2008R1.5-RC3 and when I run 'make menuconfig' I do not see any options for building qt (and I can't find a libqt or qt-embedded directory in there, either).

 

I am now in the process of checking out the trunk, to see if qt will appear in the current version when I run 'make menuconfig'

 

I would be greatly appreciate any help that anyone could give me on this one!

 

Thanks

 

 

 

Greg

QuoteReplyEditDelete

 

 

2009-03-21 18:27:55     Re: Cannot find qt

Robin Getz (UNITED STATES)

Message: 71344   

 

Greg:

 

It's in trunk - not in the older releases.

 

https://docs.blackfin.uclinux.org/doku.php?id=developing_with_blackfin_live_sources

 

https://docs.blackfin.uclinux.org/doku.php?id=uclinux-dist:qt

 

-Robin

QuoteReplyEditDelete

 

 

2009-03-21 19:51:04     Re: Cannot find qt

Gregory Hassett (UNITED STATES)

Message: 71346   

 

Hi Robin -- thanks for that.

 

The checkout that I did of the current trunk results in compilation errors during the QT build (included below).  Does anyone know of a trunk revision number where qt will build?  If so, then I can check out that particular revision and use "make menuconfig" to create Makefiles that will build QT....

 

bfin-uclinux-g++ -c -pipe -DQT_LINUX_NOMMU -DQT_NO_LIBRARY -O2 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DQT_NO_LIBRARY -DQT_BUILD_CORE_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DHB_EXPORT=Q_CORE_EXPORT -DQT_NO_DEBUG -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I/home/ghassett/bfin/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.5.0/mkspecs/qws/linux-bfin-flat-g++ -I/home/ghassett/bfin/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.5.0/src/corelib -I../../include -I../../include/QtCore -I.rcc/release-static-emb-bfin -I/home/ghassett/bfin/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.5.0/src/corelib/concurrent -Iglobal -I/home/ghassett/bfin/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.5.0/src/3rdparty/harfbuzz/src -I.moc/release-static-emb-bfin -I.uic/release-static-emb-bfin -I. -o .obj/release-static-emb-bfin/qtconcurrentfilter.o /home/ghassett/bfin/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.5.0/src/corelib/concurrent/qtconcurrentfilter.cpp

/home/ghassett/bfin/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.5.0/src/corelib/arch/bfin/qatomic_bfin_unix.cpp: In function ‘bool QBasicAtomicInt_testAndSetOrdered(volatile int*, int, int)’:

/home/ghassett/bfin/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.5.0/src/corelib/arch/bfin/qatomic_bfin_unix.cpp:56: error: ‘bfin_atomic_cas32’ was not declared in this scope

/home/ghassett/bfin/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.5.0/src/corelib/arch/bfin/qatomic_bfin_unix.cpp: In function ‘int QBasicAtomicInt_fetchAndStoreOrdered(volatile int*, int)’:

/home/ghassett/bfin/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.5.0/src/corelib/arch/bfin/qatomic_bfin_unix.cpp:63: error: ‘bfin_atomic_xchg32’ was not declared in this scope

/home/ghassett/bfin/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.5.0/src/corelib/arch/bfin/qatomic_bfin_unix.cpp: In function ‘int QBasicAtomicInt_fetchAndAddOrdered(volatile int*, int)’:

/home/ghassett/bfin/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.5.0/src/corelib/arch/bfin/qatomic_bfin_unix.cpp:74: error: ‘ATOMIC_ADD32’ was not declared in this scope

/home/ghassett/bfin/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.5.0/src/corelib/arch/bfin/qatomic_bfin_unix.cpp: In function ‘bool QBasicAtomicPointer_testAndSetOrdered(void* volatile*, void*, void*)’:

/home/ghassett/bfin/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.5.0/src/corelib/arch/bfin/qatomic_bfin_unix.cpp:90: error: ‘ATOMIC_CAS32’ was not declared in this scope

/home/ghassett/bfin/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.5.0/src/corelib/arch/bfin/qatomic_bfin_unix.cpp: In function ‘void* QBasicAtomicPointer_fetchAndStoreOrdered(void* volatile*, void*)’:

/home/ghassett/bfin/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.5.0/src/corelib/arch/bfin/qatomic_bfin_unix.cpp:104: error: ‘ATOMIC_XCHG32’ was not declared in this scope

/home/ghassett/bfin/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.5.0/src/corelib/arch/bfin/qatomic_bfin_unix.cpp: In function ‘void* QBasicAtomicPointer_fetchAndAddOrdered(void* volatile*, qptrdiff)’:

/home/ghassett/bfin/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.5.0/src/corelib/arch/bfin/qatomic_bfin_unix.cpp:119: error: ‘ATOMIC_ADD32’ was not declared in this scope

make[5]: *** [.obj/release-static-emb-bfin/qatomic_bfin_unix.o] Error 1

make[5]: *** Waiting for unfinished jobs....

make[5]: Leaving directory `/home/ghassett/bfin/uclinux-dist/lib/qt-embedded/build-qt-embedded-linux-opensource-src-4.5.0/src/corelib'

make[4]: *** [sub-corelib-install_subtargets-ordered] Error 2

make[4]: Leaving directory `/home/ghassett/bfin/uclinux-dist/lib/qt-embedded/build-qt-embedded-linux-opensource-src-4.5.0'

make[3]: *** [all] Error 2

make[3]: Leaving directory `/home/ghassett/bfin/uclinux-dist/lib/qt-embedded'

make[2]: *** [qt-embedded] Error 2

 

 

 

 

 

QuoteReplyEditDelete

 

 

2009-03-22 09:21:34     Re: Cannot find qt

Robin Getz (UNITED STATES)

Message: 71350   

 

Greg:

 

Trunk uClinux-dist requires trunk toolchain. Did you check out and build a toolchain - like it says is required in the docs I sent before?

 

-Robin

QuoteReplyEditDelete

 

 

2009-03-22 14:05:19     Re: Cannot find qt

Gregory Hassett (UNITED STATES)

Message: 71351   

 

HI Robin -- I am checking out the toolchain right now.  I just wanted to thank you for sharing your expertise -- I apoligize if I missed your earlier toolchain instructions.  Your help is very valuable and very much appreciated by this weekend warrior!

QuoteReplyEditDelete

 

 

2009-03-22 17:21:53     Re: Cannot find qt

Gregory Hassett (UNITED STATES)

Message: 71352   

 

Following the instructions that Robin pointed me to, I got trunk versions of the kernel, toolchain, and u-boot.  The toolchain build went very smoothly.  However, I cannot 'make' uClinux distribution.

 

The tail end of my 'make' output is shown here -- I am not sure exactly what the error is, but the make process ends before qt is built or installed into the staging area. . . . my quest for a build of QT for the blackfin continues, and any help would be very much appreciated!

 

 

 

installing std

installing stdcrt

installing vt100

installing vt300

make[5]: Leaving directory `/home/ghassett/bfin/uclinux-dist/lib/ncurses/build-ncurses-5.7/misc'

cd c++ && make DESTDIR="/home/ghassett/bfin/uclinux-dist/staging" install

make[5]: Entering directory `/home/ghassett/bfin/uclinux-dist/lib/ncurses/build-ncurses-5.7/c++'

/usr/bin/install -c -m 644 ../lib/libncurses++.a /home/ghassett/bfin/uclinux-dist/staging/usr/lib/libncurses++.a

installing ../../ncurses-5.7/c++/cursesapp.h in /home/ghassett/bfin/uclinux-dist/staging/usr/include

installing ../../ncurses-5.7/c++/cursesf.h in /home/ghassett/bfin/uclinux-dist/staging/usr/include

installing ../../ncurses-5.7/c++/cursesm.h in /home/ghassett/bfin/uclinux-dist/staging/usr/include

installing ../../ncurses-5.7/c++/cursesp.h in /home/ghassett/bfin/uclinux-dist/staging/usr/include

installing ../../ncurses-5.7/c++/cursesw.h in /home/ghassett/bfin/uclinux-dist/staging/usr/include

installing ../../ncurses-5.7/c++/cursslk.h in /home/ghassett/bfin/uclinux-dist/staging/usr/include

installing etip.h in /home/ghassett/bfin/uclinux-dist/staging/usr/include

make[5]: Leaving directory `/home/ghassett/bfin/uclinux-dist/lib/ncurses/build-ncurses-5.7/c++'

make[4]: Leaving directory `/home/ghassett/bfin/uclinux-dist/lib/ncurses/build-ncurses-5.7'

make post-build

make[4]: Entering directory `/home/ghassett/bfin/uclinux-dist/lib/ncurses'

make[4]: Nothing to be done for `post-build'.

make[4]: Leaving directory `/home/ghassett/bfin/uclinux-dist/lib/ncurses'

/home/ghassett/bfin/uclinux-dist/tools/cross-fix-root

make[3]: Leaving directory `/home/ghassett/bfin/uclinux-dist/lib/ncurses'

make[2]: Leaving directory `/home/ghassett/bfin/uclinux-dist/lib'

make[1]: *** [all] Error 2

make[1]: Leaving directory `/home/ghassett/bfin/uclinux-dist/lib'

make: *** [subdirs] Error 1

 

QuoteReplyEditDelete

 

 

2009-03-22 21:44:56     Re: Cannot find qt

Mike Frysinger (UNITED STATES)

Message: 71354   

 

that doesnt contain an actual error.  run `make single` to see the real error.

Attachments

    Outcomes