Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7760879
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T14:00:29+00:00 2026-06-01T14:00:29+00:00

I am having problems with launching Nokia’s own video player from my application that

  • 0

I am having problems with launching Nokia’s own video player from my application that I just don’t seem to be able to solve.

My first attempt included calling

Qt.openUrlExternally(url)

from QML and that seemed to do the trick just fine, except that it opened the browser every time and used it instead of the video-suite (native player).

Next I tried cuteTube -approach where I start new process like this:

QStringList args;
args << url;
QProcess *player = new QProcess();
connect(player, SIGNAL(finished(int, QProcess::ExitStatus)), player, SLOT(deleteLater()));
player->start("/usr/bin/video-suite", args);

That worked, except that it required video-suite to be closed upon calling player->start, otherwise it did nothing.

My third attempt involved starting the video-suite via QDBus, but that didn’t work any better:

QList<QVariant> args;
QStringList urls;
urls << url;
args.append(urls);

QDBusMessage message = QDBusMessage::createMethodCall(
    "com.nokia.VideoSuite",
    "/",
    "com.nokia.maemo.meegotouch.VideoSuiteInterface",
    "play");

message.setArguments(args);
message.setAutoStartService(true);

QDBusConnection bus = QDBusConnection::sessionBus();

if (bus.isConnected()) {
    bus.send(message);
} else {
    qDebug() << "Error, QDBus is not connected";
}

The problem with this is that it requires video-suite to be up and running – autoStartService parameter didn’t help either. If video-suite isn’t running already, the call opens it just fine but, alas, no video starts to play.

Eventually I tried using also VideoSuiteInterface, but even having the program compile with it seemed to be difficult. When I eventually managed to compile and link all relevant libraries, the results didn’t differ from option 3 above.

So, is there a way to use either VideoSuiteInterface directly or via DBus so that it would start video playback regardless of the current state of the application?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T14:00:31+00:00Added an answer on June 1, 2026 at 2:00 pm

    The solution was actually simpler than I really thought initially; the VideoSuiteInterface -approach worked after all. All it took was to use it properly. Here are the full sources should anyone want to try it themselves.

    player.h:

    #ifndef PLAYER_H
    #define PLAYER_H
    #include <QObject>
    #include <maemo-meegotouch-interfaces/videosuiteinterface.h>
    
    class Player : public QObject {
      Q_OBJECT
    private:
      VideoSuiteInterface* videosuite;
    public:
      Player(QObject *parent = 0);
      Q_INVOKABLE void play(QString url);
    };
    #endif // PLAYER_H
    

    player.cpp:

    #include "player.h"
    #include <QObject>
    #include <QStringList>
    #include <QtDeclarative>
    
    Player::Player(QObject *parent) : QObject(parent) {}
    
    void Player::play(QString url) {
      QList<QVariant> args;
      QStringList urls;
      urls << url;
      args.append(urls);
    
      videosuite = new VideoSuiteInterface();
      videosuite->play(urls);
    }
    

    In addition you may want to connect some signals to make the UI more responsive, but basically that should do the trick.

    Finally, you need to remember to add following to your .pro file and you are good to go:

    CONFIG += videosuiteinterface-maemo-meegotouch
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm having some problems with launching threads from a list of functions. They are
i'm having sometimes problems when launching my app. From time to time the screen
im having problems starting a codeigniter project, the problem is that when i do
Having problems with IE8... I have a button that onclick fires the showImageBrowser() function.
I`m having problems converting a char array read from file to an int array.
I have a WPF window that I am launching from inside of a winform
I am having problems getting my app to restore/load from start after tombstoning. It
Having problems deserializing some xml into an object in C#. The error that I
Having problems with a small awk script, Im trying to choose the newest of
Having problems iterating. Problem has to do with const correctness, I think. I assume

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.