语言

Menu
Sites
Language
Running qt apps in tizen

Hi all,
Can any one tell me procedure for running qt apps in tizen 
Regards
Harish

响应

13 回复
Tomasz Olszak

See following page:

http://qt-project.org/wiki/Tizen

 

Alex Dem

Hi,
You could just follow these steps:
http://qt-project.org/wiki/Build-Qt-for-Tizen
and one more useful link (there are required packages for Tizen SDK for Ubuntu):
https://developer.tizen.org/downloads/sdk/installing-sdk/prerequisites-tizen-sdk
Alexey.

harish kumar kavali

 

Hi 

 

 

While performing this step i got the following error

bash: ./build_and_deploy_tizen_plugin.sh: No such file or directory

can anyone figure out the  error please

 

Regards
Harish 

  1. cd ../qtcreator
  2. #You need to use at least Qt 5.2 to build QtCreator plugin
  3. # so the easiest way is to use previously compiled desktop version of Qt #for Tizen:
  4. export PATH=$HOME/dev/src/tizenbuildtools/desktop/qt5hostInstall/bin:$PATH
  5. QTC_BUILD=$HOME/qtcreator-2.8.1 ./build_and_deploy_tizen_plugin.sh                                                                                                                                                                            
Tomasz Olszak

Of course there was inconsistence(already fixed) in build instructions. Currently QtCreator 3.01 is supported:

So if you installed QtCreator 3.0.1 then invoke like:

QTC_BUILD=$HOME/qtcreator-3.0.1 ./build_and_deploy_tizen_plugin.sh

If you on the other hand installed Qt SDK the QtCreator is placed in:

QT_SDK_INSTALLATION_PATH/Tools/QtCreator

 

I laso made a fix in qt creator build script. To download it invoke:

cd tizenbuildtools
git fetch origin
git checkout v_alpha6.2

 

harish kumar kavali

Hi tolszak,

              i am getting following error 
                          Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Could not initialize GLX
Aborted (core dumped)

 

             when i run  /home/harish/qtcreator-3.0.1/bin/qtcreator.sh
and if use

QTC_BUILD=$HOME/qtcreator-3.0.1 ./build_and_deploy_tizen_plugin.sh

i am getting:    bash: ./build_and_deploy_tizen_plugin.sh: No such file or directory
Regards
Harish

 

Tomasz Olszak

It looks like your are not invoking it from:

tizenbuildtools/qtcreator directory

go to your tizenbuildtools/qtcreator dierctory
cd ......./tizenbuildtools/qtcreator

QTC_BUILD=$HOME/qtcreator-3.0.1 ./build_and_deploy_tizen_plugin.sh

However you are not able to run QtCreator at all (the GLX issues), what linux distro do you have, ensure first that Qt Creator works for you, also check if you used installer for correct architecture (32 or 64 bit)

harish kumar kavali

where i can found the installer for 64 bit architecture

Tomasz Olszak

Link is provided here:

http://qt-project.org/wiki/Build-Qt-for-Tizen#1e7b113a61ec02db9d2107e5b1741a35

".. use installer from here [download.qt-project.org]"

harish kumar kavali

Hi tolszak,
my os architecture is 64 bit so i have downloaded the 64 bit qt installer ,
even now i am getting the same error

Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Could not initialize GLX

and i also get one more error while running 

 

cd ../emulator
./prepare_developer_tools.sh

 

gbs:debug: fetching error:(22, 'The requested URL returned error: 404 Not Found')
gbs:error: Traceback (most recent call last):
  File "/usr/bin/gbs", line 557, in <module>
    sys.exit(main(sys.argv))
  File "/usr/bin/gbs", line 551, in main
    return module.main(args)
  File "/usr/lib/pymodules/python2.7/gitbuildsys/cmd_build.py", line 272, in main
    cmd += prepare_repos_and_build_conf(args, buildarch, profile)
  File "/usr/lib/pymodules/python2.7/gitbuildsys/cmd_build.py", line 124, in prepare_repos_and_build_conf
    raise GbsError('failed to get build conf from repos, please '
GbsError: <gbs>failed to get build conf from repos, please use snapshot repo or specify build config using -D option

Please help me in over comming these errors.

Regards
Harish

Tomasz Olszak

Regarding QtCreator - you are not able to run it on your system - it lacks GL libraries? What's distribution do you use?

 

Regarding emulator tools - it looks like the emulator repositories from November 2013 was deleted. I updated tizenbuildtools to use to use repositories from January 2014. Just make:

cd tizenbuildtools
git fetch origin
git checkout v_alpha6.3

and you should be finally able to build the emulator tools.

harish kumar kavali

Hi tolszak,
     i am using ubuntu 12.10

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.10
DISTRIB_CODENAME=quantal
DISTRIB_DESCRIPTION="Ubuntu 12.10"
NAME="Ubuntu"
VERSION="12.10, Quantal Quetzal"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu quantal (12.10)"
VERSION_ID="12.10"

can you tell me what are the changes to be done for running qt

Tomasz Olszak

Could you please ping me on IRC:

https://webchat.freenode.net

channel #qt-tizen

It will be faster that using this forum.

Tomasz Olszak

See https://bugreports.qt-project.org/browse/QTBUG-34109

 

Also ensure that you don't have LD_LIBRARY_PATH set to some Qt5 libraries before running QtCreator. It simply looks that there is issue with you system configuration.

Sorry, I was absent on IRC :/ I had meeting.