语言

Menu
Sites
Language
Black screen in Tizen emulator after deploying and running Qt5 example

Hi

I am using Ubuntu 12.04 64 bits, in Virtual Box on Win 8.1, 64 bits with Tizen SDK 2.2.1. I am able to compile and run a native application from Tizen IDE, based on a template, but when using QtCreator with Qt5, even if the application compiles and is deployed successfully, I get a black screen in the emulator. I have the confirmation from another developer that my Qt application runs with no issues in his emulator. Are there specific requirements for running Ubuntu with Tizen SDK in a virtual machine ? 

thanks

Bogdan

响应

15 回复
talari praveen kumar

Hi

Please refer this documentation. I think it may be helpful for you

Bogdan Cristea

This is the tutorial I have followed to install Qt5. I am sure that Qt framework and my application are correctly compiled, the issue seems to be related to the emulator.

Raghu Kona

Have you enabled Vt and GPU on emulator manager? Please also check the supported graphics card under Table: "Tested video cards" in https://developer.tizen.org/downloads/sdk/installing-sdk/prerequisites-tizen-sdk

Regards,

Raghu Kona

Alex Dem

Hi all,
I have similar problem with Ubuntu 13.04 installed on VMware player. I am able to build and deploy Qt project (x86) on Tizen 2.2.1 emulator (helloworld from ./qtquikcontrols-tizen) but I get black screen instead of UI. The same QT project which was built for Desktop is launched fine on Ubuntu 13.04.
I have turned on GPU in emulator manager. I am not able to turn on 'CPU VT': 'kvm-ok' command response is 'Your CPU does not support KVM extensions'
p.s. Tizen Native example (calculator) is launched fine on Tizen 2.2.1 emulator (UI is visible).
Thank you.
Alexey.

Bogdan Cristea

In VirtualBox I have enabled HW acceleration. The prerequisites section does not help too much as I am using a Virtual Machine (VM). My guess is that this issue is related to openGL support in VM, but I would like to know what is the official position on this issue. Can Tizen SDK be used in a VM ?

Raghu Kona

I have raised a Jira bug on this issue. Please follow for updates on the issue.

https://bugs.tizen.org/jira/browse/TDIST-622

Regards,

Raghu Kona

Alex Dem

Hi all,
Looks like it Tizen SDK Ubuntu related issue. I have copied *.tpk and have installed it on Tizen emulatror for Windows. It works.
Alexey.

Bogdan Cristea

Well, I think it is more related to the VM inside which Ubuntu runs. Do you run Windows from a VM ? Probably I should start another thread for this but Tizen emulator installed in Windows 8.1 seems to crash the entire system, but AFAIC Windows 8 is not yet supported.

Alex Dem

Maybe I don't  accurately expressed.  I am using 13.04 Ubuntu which was deployed on VMware player (with the same black screen result after launch), but Windows XP is my native system , the same *.tpk is launched successful on Emulator there.
Alexey.

Bogdan Cristea

So the problem occurs only when using Tizen SDK inside a VM (with Ubuntu, not sure about Windows)

Rajshekhar G J

Hi all,

        I want to install Qt for tizen. I followed the steps given in http://qt-project.org/wiki/Build-Qt-for-Tizen. I am using ubuntu 12.04 on 32 bit for tizen emulator. while configuring Qt creator, I couldn't find Tools -> Options, and in the dialog “Tizen” item. I downloaded & tried with Qt-creator-2.8.0, 2.8.1 & 3.0.0. But nowhere found Tizen item in options of dialog.

       Please help...

Alex Dem

Hi,
I did not remember installation process exactly, but I suppose (maybe) that you have missed build of Tizen plugin for Qt Creator :
http://qt-project.org/wiki/Build-Qt-for-Tizen#00b2d759558c279641a474b3190dc4c3
Alexey.

Rajshekhar G J

         Now I tried again to build Tizen plugin for Qt creator using command: 

QTC_BUILD=$HOME/qtcreator-2.8.1 ./build_and_deploy_tizen_plugin.sh,

but I got like: Submodule 'qtcreator/plugins/tizen' () registered for path 'qtcreator/plugins/tizen'.

Again i am facing the same issue i.e, I couldn't find "Tizen" in dialog (options) of tools. But I am getting Android.

How can i get Tizen in dialog of tools -> options? 

Rajshekhar G J

When i run: ~/qtcreator-2.8.1/ ./build_and_deploy_tizen_plugin.sh I am getting make error like: In file included from tizenplugin.h:33:0, from tizenplugin.cpp:30: sdbconnector.h:36:22: fatal error: QTcpSocket: No such file or directory #include ^ compilation terminated. make: *** [.obj/release-shared/tizenplugin.o] Error 1

Alex Dem

Hi,
I have performed all steps in sequence described in http://qt-project.org/wiki/Build-Qt-for-Tizen (except building Qt for Tizen IVI devices )
In accordance with article : https://developer.tizen.org/downloads/sdk/installing-sdk/prerequisites-tizen-sdk ( I use Ubuntu 13.04) I have installed all packages required for Ubuntu® 12.10.
I did not face with the same error.
Alexey.