ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #04483
Re: C++ app with QML UI
On 10/06/2013 06:35 AM, Michał Sawicz wrote:
First question on how to solve this - are you passing
--desktop_file_hint=/path/to/desktop/file?
Yes, currently running the following command:
./feedly --desktop_file_hint=./feedly.desktop
With a desktop file that contains:
[Desktop Entry]
Name=feedly
Comment=Feedly RSS Reader
Exec=./feedly
#Icon=
Terminal=false
Type=Application
X-Ubuntu-Touch=true
Results in the following terminal output:
./feedly --desktop_file_hint=./feedly.desktop
__pthread_gettid -2
loaded the dummy plugin
loaded the Linux plugin
Registered the AalSensorPlugin types
ViewController::ViewController() : DEBUG: entered
MainWindow::MainWindow() : DEBUG: entered
virtual void MainWindow::setupUi() :
DEBUG: entered
unity::action::ActionManager::ActionManager(QObject*):
Could not determine application identifier. HUD will not work properly.
Provide your application identifier in $APP_ID environment variable.
callbacks 0x4055198d 0x40551939
creating surface at (0, 0) with size (768, 1280) with title 'Window
1'QOpenGLShader::link: "--From Fragment Shader:
--From Vertex Shader:
Link was successful.
"
QOpenGLShader::link: "--From Fragment Shader:
--From Vertex Shader:
Link was successful.
"
QOpenGLShader::link: "--From Fragment Shader:
--From Vertex Shader:
Link was successful.
"
Then after a handfull of seconds this:
[1]+ Stopped ./feedly --desktop_file_hint=./feedly.desktop
Then I have to kill the process with -9.
I've also tried editing .desktop file Exec path, moved the .desktop file
to /usr/share/applications/, put the binary in /usr/bin/
and tried feedly
--desktop_file_hint=/usr/share/applications/feedly.desktop, results
appear to be the same.
Follow ups
References