Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Continuum in Symbian with Qt
I want to create something like Continuum of Windows 10 on Symbian with Qt. But I'm having more of a problem.
I'm trying to create a "hello world" with hdmi output. Use the example of "epong" but fails to compile with QtCreator and Carbide c++
I'm having problems are:
- Do not get the last SDK for Symbian Belle, I have a Symbian SDK Ana. All links are down
- I can not compile anything. Emulator only works. I use to compile the Carbide C ++ SDK with Symbian Belle
- He was trying to change the "Style" or Skin symbian applications to have the look of Ubuntu, KDE or Windows. There is an example called "icons" in which to go to menu / View Create a list of "styles" system. They appear in several windows and linux. Only Symbian "S60 Style" and "Windows Style" (the same as in Windows and Linux) the question is whether more can be installed on Symbian styles and how to select default. also I have a problem with the emulator, since not let me see the menu. Not if it has to do with the emulation is Symbian Anna and Symbian Belle my cell used
- No achievement using the HDMI output, I have an example that uses the hdmi supposedly "epong" but I can not compile. another time had succeeded. I guess it's because I use an old SDK. achieving either compile it into carbide. The only thing I want is to create a window that says "hello world" and start from there. They also removed the game documentation "epong"
That would be first. create something simple, the most ambitious would carry any KDE application. but my idea would be to create an environment and applications that leverage the power zero cell
I had already started this project in python and OpenGL reaching a good result. but since Python is not supported on Symbian Belle, you can not use HDMI. you can not run full-screen applications with OpenGL ES 1.1. It does not support OpenGL ES 2.0 and writing text too difficult. and for unknown reasons the application is closed without any reason leave the project and I started from scratch in Qt.
sorry my English. use google translator
Hi and welcome to devnet,
Not to be pessimistic but are you aware that the support of the Symbian platform has been terminated by Nokia the 1st january 2014 ? That includes software distribution through their App Store.
That article might give you access to some of the old SDK downloads but again, that platform is pretty much a dead end.
I am aware that closed the platform. This is something I wanted to do from the nokia n95. if the term would rise unsigned sisx packages and buildings so that they can modify it.
I'll download the SDK and test whether you passed me at least fix the QtCreator.
Latest achieve Carbide c++ compile the example of Epong (missing a file I found on another page). But the only thing that interests me is not working. which is the hdmi output. It has to do with the files:
"HdmiOutput.cpp" and "HdmiOutput.h"
Talk to the creator in twitter and told me "It has RWindow that is shown on the HDMI display when monitor is connected, epong uses that class and its callback"
I found this:
"The last new UI feature worth mentioning is the TV-out support in Qt 4.7.4. When using TV-out, this feature makes possible to use TV display as an independent screen rather than just clone of the device screen. Applications can provide different control view on device screen and a presentation mode with larger resolution on the TV-out display. It works with devices with either analog 3.5mm composite video output or HDMI output . By default, in Symbian devices the content shown in TV-out is a clone of the device screen. From now on, however, parenting a widget to QDesktopWidget::screen(1) and calling show() will turn off cloning and have different content shown instead. The screenCount member function and the screenCountChanged signal can be used to detect the availability of the secondary display, just like on other platforms."
It's what I wanted but I'm not making it work. I am new to Qt and c ++ and I'm not understanding how it works.
From what is written, I'd try in main.cpp:
QApplication app(argc, argv); QDesktopWidget *desktopWidget = app.desktop(); QWidget tvWidget = desktopWidget->screen(1); MyWidget myWidget; myWidget->setParent(tvWidget); myWidget->show(); return app.exec();
No guaranties given
thank you very much, edit the code to compile and was as follows:
int main(int argc, char *argv)
QApplication app(argc, argv);
QDesktopWidget *desktopWidget = app.desktop();
QWidget *tvWidget = desktopWidget->screen(1);
the result was a black rectangle the size of the phone screen (640x360) on a white canvas at 720p. On the phone screen you could use the menu and open a program.
I'll play around with this and see that achievement to get. later I'll ask another question about the styles of qt. About this example:
by going to the menu/view: The program lists the installed styles. Symbian show "Windows Style" and "s60 Style"
the question is if you can install more themes or each application must have its own style.
With the "Windows Style" and manages to give a good look at PC application
You should rather follow the Qt 4 documentation. AFAIK, there's no Qt 5 for Symbian.
I see the documentation of Qt 4.8.
I'm having problems with hdmi . I thought " w1" was the black widget 640x360 pixels on a white background. but enrealidad was white background . I take the definition 1280x720 . I realized when you change the size and position of the widget. what I did was make " w1" is centered and has a size of 640x48 . the bottom end was black and there is another black widget 640x360 (the size of nokia n8 ) that also rotate the screen rotates . It is very strange and fails to draw anything more . I could not draw another widget or anything like that because the program is closed. now I'll try that
I don't have any Symbian device so I really can't help you more than what I already did, sorry.
I got this:
Explain , Adapt an example Qt to Symbian and got the result he wanted. Now I'm trying to connect to the HDMI , the screen becomes a trakpap style notebook. recently started to return to try to draw something on the screen and barely managed to complete the application I 'm going up to any interested party the use or add something missing.
The idea is simple, to emulate the use of a PC into a phone. at least the appearance was easy to achieve . to be a rookie , so far I never am seen an application to do something similar in smbian and is a real shame . It would have been great applications like Opera Mobile , Smart Office , games, etc. it used.
just I try to do justice to a platform that died .
Dante Leoncini last edited by Dante Leoncini
Achieve do you see a perfectly ui interface and even can be used with a bluetooth keyboard. It works so well that surprised me . I'll upload a photo just can. The only problem is that the system leaves the top in black . but not annoying .
Is the problem now is how I think a mouse ? I still could not see anything as it possible.
and I 'm still not understanding how to display the hdmi only if connected screen. Currently the application always shows the mainwindow . I wanted to do that if the number of screens is greater than 0 , display the widget. should not be less than or equal to. and if you change the number of screens you redo the test. I figured I have to use screenCountChanged and screenCount . but do not succeed
I edit : I show how this being !
and fix the problem of the screen . use: " showFullScreen " and disappeared all problems hdmi output . I could show no problem QML files , ui , and GLwidget
the hdmi output code is:
//Salidad hdmi o pantalla externa QDesktopWidget *WidgetEscritorio = app.desktop(); QWidget *tvWidget = WidgetEscritorio->screen(1); MainWindow window; window.setParent(tvWidget); window.showFullScreen();
and to change the appearance of all windows application to use:
QApplication :: setStyle ("Windows"); //Aplica el estilo Windows
the last code is very useful because it allows me the program look exactly the same on all platforms . just missing the text font set not to resize as I ran on Symbian