Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Continuum in Symbian with Qt
QtWS25 Last Chance

Continuum in Symbian with Qt

Scheduled Pinned Locked Moved Solved Mobile and Embedded
11 Posts 2 Posters 2.9k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #2

    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.

    Interested in AI ? www.idiap.ch
    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

    1 Reply Last reply
    0
    • Dante LeonciniD Offline
      Dante LeonciniD Offline
      Dante Leoncini
      wrote on last edited by
      #3

      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"

      1 Reply Last reply
      0
      • Dante LeonciniD Offline
        Dante LeonciniD Offline
        Dante Leoncini
        wrote on last edited by
        #4

        I found this:

        http://blog.qt.io/blog/2011/11/08/qt-4-7-4-release-bundle-for-symbian-news/
        "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."

        and http://doc.qt.io/qt-4.8/qdesktopwidget.html

        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.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #5

          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

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          1
          • Dante LeonciniD Offline
            Dante LeonciniD Offline
            Dante Leoncini
            wrote on last edited by
            #6

            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);
            QWidget w1;
            w1.setParent(tvWidget);
            w1.show();
            return app.exec();
            }

            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:
            http://doc.qt.io/qt-5/qtwidgets-widgets-icons-example.html

            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

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #7

              You should rather follow the Qt 4 documentation. AFAIK, there's no Qt 5 for Symbian.

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • Dante LeonciniD Offline
                Dante LeonciniD Offline
                Dante Leoncini
                wrote on last edited by
                #8

                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

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #9

                  I don't have any Symbian device so I really can't help you more than what I already did, sorry.

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply
                  0
                  • Dante LeonciniD Offline
                    Dante LeonciniD Offline
                    Dante Leoncini
                    wrote on last edited by
                    #10

                    I got this:

                    Style Windows
                    Style Pagefold

                    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 .

                    1 Reply Last reply
                    0
                    • Dante LeonciniD Offline
                      Dante LeonciniD Offline
                      Dante Leoncini
                      wrote on last edited by Dante Leoncini
                      #11

                      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 !

                      Programa Funcionando

                      edit (2):

                      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

                      1 Reply Last reply
                      0

                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups
                      • Search
                      • Get Qt Extensions
                      • Unsolved