I dont know if qt 4.8 support mtdev

As I know , only from qt 5 , will support mtdev

What I am sure is from buildroot git tree , you can build qt 5.0 , and
actually , You can modify for build 5.1.1 (I have done this on iMX6 )

Maybe you can have a try


2013/10/14 Maxim Podbereznyy <lisar...@gmail.com>

> Libraries installed dont have the qws feature compiled in I guess.
> Probably you need to compile Qt yourself
>
> http://wiki.mentorel.com/doku.php/qt-embedded
> 14.10.2013 1:14 пользователь "dlewin555" <dlewin...@gmail.com> написал:
>
> That's a good idea Maxim, nevertheless after installed libqt4-dev on BBB
>> and after compiled
>> successfully a "Hello world" Console, I've tried a GUI app (qmake + make)
>> which outputs :
>>
>> - cannot connect to X server
>>
>>
>> My app is called with
>>
>> *Myapp -qws*
>>
>>
>> I'm wondering what is missing now
>>
>> Le dimanche 13 octobre 2013 21:35:18 UTC+2, lisarden a écrit :
>>>
>>> You can install Qt on the x86, write an application, debug it etc. Then
>>> upload source files to a target and compile there
>>>
>>>
>>> 2013/10/13 dlewin555 <dlew...@gmail.com>
>>>
>>>> ooow : so either I want to build a graphical Qt app
>>>> - I have to install Qtcreator etc on the beagleboneBlack : I'm not sure
>>>> this is the best solution
>>>> - I have to go Angstrom: which seems to have issues with qt, ie :
>>>> qt4-embedded --force-depends => iconv errors
>>>>
>>>>
>>>> and run it directly on Debian "Stable" aka wheezy..
>>>>>
>>>>
>>>> why not installing back another one than wheezy which will have the
>>>> good libs ?
>>>>
>>>>
>>>> Le dimanche 13 octobre 2013 19:08:22 UTC+2, RobertCNelson a écrit :
>>>>>
>>>>> On Sun, Oct 13, 2013 at 11:40 AM, dlewin555 <dlew...@gmail.com>
>>>>> wrote:
>>>>> > Hi,
>>>>> >
>>>>> > I want to build Qt app that have to run with the 4D-Touch screen
>>>>> cape from
>>>>> > 4D system.
>>>>> >
>>>>> > I've followed the instructions from  the Debian installation
>>>>> tutorial which
>>>>> > let me successfully start the BBB.
>>>>> >>
>>>>> >> uname -a : Linux arm 3.8.13-bone28 #1 SMP Sun Oct 13 00:07:57 CEST
>>>>> 2013
>>>>> >> armv7l GNU/Linux
>>>>> >
>>>>> > I've then changed the instructions from another tutorial  to use the
>>>>> Debian
>>>>> > LInaro toolchain with a Qmake.conf :
>>>>> >
>>>>> >
>>>>> >>> #
>>>>> >>>
>>>>> >>> # qmake configuration for building with arm-linux-g++
>>>>> >>>
>>>>> >>> #
>>>>> >>>
>>>>> >>>
>>>>> >>> include(../../common/linux.**con**f)
>>>>> >>>
>>>>> >>> include(../../common/gcc-base-****unix.conf)
>>>>> >>>
>>>>> >>> include(../../common/g++-unix.****conf)
>>>>> >>>
>>>>> >>> include(../../common/qws.conf)
>>>>> >>>
>>>>> >>>
>>>>> >>> # modifications to g++.conf
>>>>> >>>
>>>>> >>> #Toolchain
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> #Compiler Flags to take advantage of the ARM architecture
>>>>> >>>
>>>>> >>> QMAKE_CFLAGS_RELEASE =   -O3 -march=armv7-a -mtune=cortex-a8
>>>>> -mfpu=neon
>>>>> >>> -mfloat-abi=hard
>>>>> >>>
>>>>> >>> QMAKE_CXXFLAGS_RELEASE = -O3 -march=armv7-a -mtune=cortex-a8
>>>>> -mfpu=neon
>>>>> >>> -mfloat-abi=hard
>>>>> >>>
>>>>> >>>
>>>>> >>> QMAKE_CC =
>>>>> >>> /home/david/BBb/Debian_eewiki.****net/gcc-linaro-arm-linux-**gnuea
>>>>> **bihf-4.8-2013.07-1_linux/**bin/**arm-linux-gnueabihf-gcc
>>>>> >>>
>>>>> >>> QMAKE_CXX =
>>>>> >>> /home/david/BBb/Debian_eewiki.****net/gcc-linaro-arm-linux-**gnuea
>>>>> **bihf-4.8-2013.07-1_linux/**bin/**arm-linux-gnueabihf-g++
>>>>> >>>
>>>>> >>> QMAKE_LINK =
>>>>> >>> /home/david/BBb/Debian_eewiki.****net/gcc-linaro-arm-linux-**gnuea
>>>>> **bihf-4.8-2013.07-1_linux/**bin/**arm-linux-gnueabihf-g++
>>>>> >>>
>>>>> >>> QMAKE_LINK_SHLIB =
>>>>> >>> /home/david/BBb/Debian_eewiki.****net/gcc-linaro-arm-linux-**gnuea
>>>>> **bihf-4.8-2013.07-1_linux/**bin/**arm-linux-gnueabihf-g++
>>>>> >>>
>>>>> >>>
>>>>> >>> # modifications to linux.conf
>>>>> >>>
>>>>> >>> QMAKE_AR =
>>>>> >>> /home/david/BBb/Debian_eewiki.****net/gcc-linaro-arm-linux-**gnuea
>>>>> **bihf-4.8-2013.07-1_linux/**bin/**arm-linux-gnueabihf-ar
>>>>> >>> cqs
>>>>> >>>
>>>>> >>> QMAKE_OBJCOPY =
>>>>> >>> /home/david/BBb/Debian_eewiki.****net/gcc-linaro-arm-linux-**gnuea
>>>>> **bihf-4.8-2013.07-1_linux/**bin/**arm-linux-gnueabihf-**objcopy
>>>>> >>>
>>>>> >>> QMAKE_STRIP =
>>>>> >>> /home/david/BBb/Debian_eewiki.****net/gcc-linaro-arm-linux-**gnuea
>>>>> **bihf-4.8-2013.07-1_linux/**bin/**arm-linux-gnueabihf-strip
>>>>> >>>
>>>>> >>>
>>>>> >>> load(qt_config)
>>>>> >>
>>>>> >>
>>>>> >
>>>>> > Please note that I've also to change the softfloat option to hard.
>>>>> >
>>>>> >
>>>>> > Then I"ve copied the lib to the target
>>>>> >
>>>>> >
>>>>> >> scp -r /opt/qt/lib ro...@192.168.0.32:"/opt/qt"
>>>>> >
>>>>> >
>>>>> >  Finally, I've installed Qtcreator and set it to use the Linaro
>>>>> Toolchain
>>>>> > and gdb
>>>>> >
>>>>> > but the executable complains :
>>>>> >
>>>>> >> ./TestBeagle_console: /lib/arm-linux-gnueabihf/libc.****so.6:
>>>>> version
>>>>> >> `GLIBC_2.17' not found (required by /opt/qt/lib/libQtCore.so.4)
>>>>> >
>>>>> >
>>>>> >
>>>>> > Whereas I've followed the Qt instructions for Env paths :
>>>>> >>>
>>>>> >>>
>>>>> >>> LD_LIBRARY_PATH=/opt/qt/lib:/**l**ib/arm-linux-gnueabihf
>>>>> >>>
>>>>> >>>
>>>>> >>> PATH=/usr/local/sbin:/usr/**loca**l/bin:/usr/sbin:/usr/bin:/**sbin
>>>>> **:/bin:/opt/qt/lib:/lib/**arm-**linux-gnueabihf
>>>>> >>
>>>>> >>
>>>>> >
>>>>> > ldd says :
>>>>> >>
>>>>> >> ./TestBeagle_console: /lib/arm-linux-gnueabihf/libc.****so.6:
>>>>> version
>>>>> >> `GLIBC_2.17' not found (required by /opt/qt/lib/libQtCore.so.4)
>>>>> >>
>>>>> >>         libQtNetwork.so.4 => /opt/qt/lib/libQtNetwork.so.4
>>>>> (0xb6e2c000)
>>>>> >>         libQtCore.so.4 => /opt/qt/lib/libQtCore.so.4 (0xb6b92000)
>>>>> >>         libpthread.so.0 => /lib/arm-linux-gnueabihf/**libpt**hread.so.0
>>>>>
>>>>> >> (0xb6b77000)
>>>>> >>         libstdc++.so.6 => 
>>>>> >> /usr/lib/arm-linux-gnueabihf/**l**ibstdc++.so.6
>>>>>
>>>>> >> (0xb6ac8000)
>>>>> >>         libm.so.6 => /lib/arm-linux-gnueabihf/libm.****so.6
>>>>> (0xb6a5d000)
>>>>> >>         libgcc_s.so.1 => /lib/arm-linux-gnueabihf/**libgc**c_s.so.1
>>>>>
>>>>> >> (0xb6a39000)
>>>>> >>         libc.so.6 => /lib/arm-linux-gnueabihf/libc.****so.6
>>>>> (0xb6953000)
>>>>> >>         libdl.so.2 => /lib/arm-linux-gnueabihf/**libdl**.so.2
>>>>> (0xb6948000)
>>>>> >>         /lib/ld-linux-armhf.so.3 (0xb6f01000)
>>>>> >>
>>>>> >
>>>>> >
>>>>> >  what did I missed please ?
>>>>>
>>>>> You "assumed" you could build something with a bleeding edge gcc/cross
>>>>> compiler and run it directly on Debian "Stable" aka wheezy..
>>>>>
>>>>> Wheezy only has 2.13-38 of libc.so.6, no way is anything built with
>>>>> "GLIBC_2.17" going to work..
>>>>>
>>>>> Just build your application/qt/etc on the "target" and stop cross
>>>>> compiling stuff.
>>>>>
>>>>> Regards,
>>>>>
>>>>> --
>>>>> Robert Nelson
>>>>> http://www.rcn-ee.com/
>>>>>
>>>>  --
>>>> For more options, visit http://beagleboard.org/discuss
>>>> ---
>>>> You received this message because you are subscribed to the Google
>>>> Groups "BeagleBoard" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to beagleboard...@**googlegroups.com.
>>>> For more options, visit 
>>>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
>>>> .
>>>>
>>>
>>>
>>>
>>> --
>>> LinkedIn - 
>>> http://www.linkedin.com/in/**maximpodbereznyy<http://www.linkedin.com/in/maximpodbereznyy>
>>>  Company - 
>>> http://www.linkedin.com/**company/mentorel<http://www.linkedin.com/company/mentorel>
>>> Facebook - 
>>> https://www.facebook.com/**mentorel.company<https://www.facebook.com/mentorel.company>
>>>
>>  --
>> For more options, visit http://beagleboard.org/discuss
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "BeagleBoard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to beagleboard+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>  --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beagleboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to