AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-229014

Nymeria's questions

Martin Hope
Nymeria
Asked: 2015-08-06 07:30:43 +0800 CST

无法在我的 Aquaris e4.5 中启动我的 Ubuntu touch 应用程序

  • 0

我在 Ubuntu touch 上创建了一个读取条形码的简单应用程序。

它在台式机上运行良好,但无法将其启动到我的 Aquaris E4.5 中

这是我的控制台输出:

 Warning: Permanently added '[127.0.0.1]:10000' (RSA) to the list of known hosts.
Sdk-Launcher> Executing:     /tmp/qfacts.nymeria_0.1_armhf.click
Sdk-Launcher> Force Install: False
Sdk-Launcher> Skip Uninstall:False
Sdk-Launcher> Launcher PID: 9544
Sdk-Launcher> Installing application .....
Transaction:    Installing files
Status:     Waiting in queue
Status:     Starting
Status:     Finished
Transaction:    Installing files
Status:     Waiting in queue
Status:     Waiting for authentication
Status:     Waiting in queue
Status:     Starting
Status:     Finished
Results:
Installed    qfacts.nymeria-0.1.armhf (installed:click,removable=1,app_name=QFacts)
Sdk-Launcher> Application installed successfully
Sdk-Launcher> AppId:                   qfacts.nymeria_QFacts_0.1
Sdk-Launcher> Architecture:            armhf
Sdk-Launcher> Application confined:    True
Sdk-Launcher> Communication directory: /home/phablet/.local/share/qfacts.nymeria/
Sdk-Launcher> Application started: 9679
Sdk-Launcher> Received a failed event
Sdk-Launcher> The Application exited, cleaning up
Sdk-Launcher> Finished 

我的智能手机处于开发者模式,通过 USB 连接。我不明白为什么我会收到failed event.

源代码可在此处获得:http: //www.jeodrive.com/download/qfacts-tar/

如果您有任何想法,请告诉我!

ubuntu-touch
  • 1 个回答
  • 69 Views
Martin Hope
Nymeria
Asked: 2015-06-17 12:05:57 +0800 CST

为什么 PageStack 不会发送属性?

  • 2

我有一个基本代码,但无法将属性发送到外部页面

这是我的 main.qml :

 PageStack {
        id: pageStack
        Component.onCompleted: push(pageMain)
        Page {
            title: i18n.tr("Main page")
            id:pageMain

            Button {
                objectName: "button"
                width: parent.width

                text: i18n.tr("send value")

                onClicked: {
                    var codeValue = "3029330003533";
                    console.log("code = " + codeValue);
                    pageStack.push(Qt.resolvedUrl("qml/view.qml", {code: codeValue}));
                }
            }

        }
    }

还有我的 qml/view.qml 页面

import QtQuick 2.4
import Ubuntu.Components 1.2

Page {
    title: "View"
    id: pageView
   property string code:"";

    Column {
        spacing: units.gu(1)
        anchors {
            margins: units.gu(2)
            fill: parent
        }

        Label {
            id: label
            objectName: "label"
            text: pageView.code
        }
    }
}

属性“条形码”始终为空,我的错误在哪里?

application-development
  • 2 个回答
  • 84 Views
Martin Hope
Nymeria
Asked: 2015-05-21 08:42:46 +0800 CST

如何在其他发行版中使用 ubuntu-sdk

  • 5

我厌倦了 ubuntu 固定软件版本,所以我想切换 manjaro(因为滚动发布)。

但我想为 ubuntu touch (ubuntu-sdk) 开发应用程序。你知道如何在另一个发行版下使用这个 sdk 吗?

ubuntu-sdk
  • 1 个回答
  • 258 Views
Martin Hope
Nymeria
Asked: 2014-12-12 08:28:07 +0800 CST

为什么 XMLHttpRequest 在 readyState 属性中只发送“已建立的服务器连接”?

  • 2

我尝试将 JSON web 服务的结果存储到列表视图中。

我在 javascript 中创建了我的请求,但我的readyState价值永远1不会改变。我不明白哪里出了问题。

这是我的输出:

就绪状态更改为:1

   import QtQuick 2.0
import Ubuntu.Components 1.1
import Ubuntu.Components.ListItems 0.1 as ListItem
/*!
    \brief MainView with a Label and Button elements.
*/

MainView {
    // objectName for functional testing purposes (autopilot-qt5)
    objectName: "mainView"

    // Note! applicationName needs to match the "name" field of the click manifest
    applicationName: "com.ubuntu.developer.username.gms"

    /*
     This property enables the application to change orientation
     when the device is rotated. The default is false.
    */
    //automaticOrientation: true

    // Removes the old toolbar and enables new features of the new header.
    useDeprecatedToolbar: false

    width: units.gu(100)
    height: units.gu(75)

    PageStack {
        id: pageStack
        Component.onCompleted: push(page0)

        Page {
            id: page0
            title: i18n.tr("Index")
            visible: false

            Column {
                anchors.fill: parent
                ListItem.Standard {
                    text: i18n.tr("View history")
                    onClicked: pageStack.push(page1)
                    progression: true
                }
                ListItem.Standard {
                    text: i18n.tr("External page")
                    onClicked: pageStack.push(Qt.resolvedUrl("MyCustomPage.qml"))
                    progression: true
                }
            }
        }
        Page {
            title: "Rectangle"
            id: page1
            visible: false

            Rectangle {
                width: 320
                height: 480
                ListView {
                    id: view
                    anchors.fill: parent
                    delegate: Text {
                        anchors.fill: parent
                        width: view.width
                        Text { text: "ttile: " + modelData.title }
                        Text { text: "iconeSource: $" + modelData.media.m }
                    }
                    function request() {
                        var xhr = new XMLHttpRequest();
                        xhr.onreadystatechange = function() {
                            console.log("Ready state changed to : " + xhr.readyState +" \n");
                            if (xhr.readyState === XMLHttpRequest.HEADERS_RECEIVED) {
                                console.log('HEADERS_RECEIVED')
                            } else if(xhr.readyState === XMLHttpRequest.DONE) {
                                console.log('DONE')
                                var json = JSON.parse(xhr.responseText.toString())
                                view.model = json.items
                            }
                        }
                        xhr.open("GET", "http://api.flickr.com/services/feeds/photos_public.gne?format=json&nojsoncallback=1&tags=munich");
                        xhr.send();
                    }
                    Component.onCompleted: {
                        request();
                    }
                } // listView
            } // rectangle
        } // page
    }

}

通常我应该多次进入 onreadystatechange 函数......

PS:我在 app.apparmor 中添加了“网络”权限

{
    "policy_groups": [
        "networking"
    ],
    "policy_version": 1.2
}
application-development
  • 1 个回答
  • 638 Views
Martin Hope
Nymeria
Asked: 2014-11-14 08:39:09 +0800 CST

为什么我无法在 ubuntu-touch 模拟器上启动演示应用程序

  • 5

我刚刚创建了一个新的 ubuntu 触摸模拟器 (ubuntu 14.10 sdk i386 devel)。

Check device image version..
X86 Emulator 
aosp_x86 
generic_x86 
243 
i386 

我有一个默认的 QML 代码:

import QtQuick 2.0
import Ubuntu.Components 1.1

/*!
    \brief MainView with a Label and Button elements.
*/

MainView {
    // objectName for functional testing purposes (autopilot-qt5)
    objectName: "mainView"

    // Note! applicationName needs to match the "name" field of the click manifest
    applicationName: "com.ubuntu.developer.username.newapp"

    /*
     This property enables the application to change orientation
     when the device is rotated. The default is false.
    */
    //automaticOrientation: true

    // Removes the old toolbar and enables new features of the new header.
    useDeprecatedToolbar: false

    width: units.gu(100)
    height: units.gu(75)

    Page {
        title: i18n.tr("Simple")

        Column {
            spacing: units.gu(1)
            anchors {
                margins: units.gu(2)
                fill: parent
            }

            Label {
                id: label
                objectName: "label"

                text: i18n.tr("Hello..")
            }

            Button {
                objectName: "button"
                width: parent.width

                text: i18n.tr("Tap me!")

                onClicked: {
                    label.text = i18n.tr("..world!")
                }
            }
        }
    }
}

当我在我的模拟器上午餐我的应用程序时,我有两个警告:

:-1: warning: desktop_Exec (app): found unexpected Exec with architecture 'all': ./qtc_device_debughelper.py

和

:-1: warning: security_policy_groups_safe_app (debug): (REJECT) reserved policy group 'debug': not for production use
The debug policy group is automatically injected and should only be used for development.
To create a package for the store use the publish tab!

显然,我的应用程序没有在 ubuntu-touch 上启动......

这是我的应用程序输出:

Warning: Permanently added '[127.0.0.1]:10000' (RSA) to the list of known hosts.
Sdk-Launcher> Executing:     /tmp/com.ubuntu.developer.username.newapp_0.1_all.click
Sdk-Launcher> Force Install: False
Sdk-Launcher> Skip Uninstall:False
Sdk-Launcher> Launcher PID: 12359
Sdk-Launcher> Installing application .....
Sdk-Launcher> Installing the application failed

这是我的编译输出:

16:34:07: Running steps for project newApp...
sending incremental file list
deleting qtc_device_debughelper.py
./
app.apparmor
app.desktop

sent 480 bytes  received 86 bytes  1.13K bytes/sec
total size is 40.86K  speedup is 72.19
16:34:07: The process "/usr/bin/rsync" exited normally.
WARNING:root:Ignoring missing framework "ubuntu-sdk-14.10"
Successfully built package in './com.ubuntu.developer.username.newapp_0.1_all.click'.
16:34:07: The process "/usr/bin/click" exited normally.
16:34:07: The click package has been created in /home/morgan/qt/build-newApp-u1504_GCC_i386_ubuntu_sdk_14_10_utopic-default
= content_hub =
{
  "error": {},
  "info": {},
  "warn": {}
}
= desktop =
{
  "error": {},
  "info": {
    "desktop_Comment_boilerplate (app)": {
      "manual_review": false,
      "text": "OK"
    },
    "desktop_Exec_webapp_args (app)": {
      "manual_review": false,
      "text": "SKIPPED (not webapp-container or webbrowser-app)"
    },
    "desktop_Exec_webapp_container (app)": {
      "manual_review": false,
      "text": "SKIPPED (not webapp-container)"
    },
    "desktop_Exec_webbrowser (app)": {
      "manual_review": false,
      "text": "SKIPPED (not webbrowser-app)"
    },
    "desktop_Icon (app)": {
      "manual_review": false,
      "text": "OK"
    },
    "desktop_Terminal (app)": {
      "manual_review": false,
      "text": "OK"
    },
    "desktop_Type (app)": {
      "manual_review": false,
      "text": "OK"
    },
    "desktop_Version (app)": {
      "manual_review": false,
      "text": "OK (not specified)"
    },
    "desktop_X-Ubuntu-Gettext-Domain (app)": {
      "manual_review": false,
      "text": "OK (not specified)"
    },
    "desktop_X-Ubuntu-StageHint (app)": {
      "manual_review": false,
      "text": "OK (not specified)"
    },
    "desktop_X-Ubuntu-Touch (app)": {
      "manual_review": false,
      "text": "OK"
    },
    "desktop_blacklisted_keys (app)": {
      "manual_review": false,
      "text": "OK"
    },
    "desktop_duplicate_keys (app)": {
      "manual_review": false,
      "text": "OK"
    },
    "desktop_files_usable": {
      "manual_review": false,
      "text": "OK"
    },
    "desktop_groups (app)": {
      "manual_review": false,
      "text": "OK"
    },
    "desktop_required_fields_not_empty (app)": {
      "manual_review": false,
      "text": "OK"
    },
    "desktop_required_keys (app)": {
      "manual_review": false,
      "text": "OK"
    },
    "desktop_validates (app)": {
      "manual_review": false,
      "text": "OK"
    }
  },
  "warn": {
    "desktop_Exec (app)": {
      "manual_review": false,
      "text": "found unexpected Exec with architecture 'all': ./qtc_device_debughelper.py"
    }
  }
}
= functional =
{
  "error": {},
  "info": {
    "functional_qml_applicationName_matches_manifest": {
      "manual_review": false,
      "text": "OK"
    },
    "functional_qml_application_uses_QtWebKit": {
      "manual_review": false,
      "text": "OK"
    },
    "functional_qml_application_uses_UbuntuWebView_0.2": {
      "manual_review": false,
      "text": "OK"
    },
    "functional_qml_application_uses_friends": {
      "manual_review": false,
      "text": "OK"
    }
  },
  "warn": {}
}
= lint =
{
  "error": {},
  "info": {
    "lint_DEBIAN_extra_files": {
      "manual_review": false,
      "text": "OK"
    },
    "lint_DEBIAN_has_control": {
      "manual_review": false,
      "text": "OK"
    },
    "lint_DEBIAN_has_manifest": {
      "manual_review": false,
      "text": "OK"
    },
    "lint_DEBIAN_has_md5sums": {
      "manual_review": false,
      "text": "OK"
    },
    "lint_DEBIAN_has_preinst": {
      "manual_review": false,
      "text": "OK"
    },
    "lint_click_files": {
      "manual_review": false,
      "text": "OK"
    },
    "lint_click_local_extensions": {
      "manual_review": false,
      "text": "OK"
    },
    "lint_control_architecture_match": {
      "manual_review": false,
      "text": "OK"
    },
    "lint_control_architecture_specified_needed": {
      "manual_review": false,
      "text": "SKIPPED: architecture is 'all'"
    },
    "lint_control_architecture_valid": {
      "manual_review": false,
      "text": "OK"
    },
    "lint_control_architecture_valid_contents": {
      "manual_review": false,
      "text": "OK"
    },
    "lint_control_click_version_up_to_date": {
      "manual_review": false,
      "text": "OK"
    },
    "lint_control_description_match": {
      "manual_review": false,
      "text": "OK"
    },
    "lint_control_has_Architecture": {
      "manual_review": false,
      "text": "OK"
    },
    "lint_control_has_Click-Version": {
      "manual_review": false,
      "text": "OK"
    },
    "lint_control_has_Description": {
      "manual_review": false,
      "text": "OK"
    },
    "lint_control_has_Installed-Size": {
      "manual_review": false,
      "text": "OK"
    },
    "lint_control_has_Maintainer": {
      "manual_review": false,
      "text": "OK"
    },
    "lint_control_has_Package": {
      "manual_review": false,
      "text": "OK"
    },
    "lint_control_has_Version": {
      "manual_review": false,
      "text": "OK"
    },
    "lint_control_installed_size": {
      "manual_review": false,
      "text": "OK"
    },
    "lint_control_maintainer_match": {
      "manual_review": false,
      "text": "OK"
    },
    "lint_control_package_match": {
      "manual_review": false,
      "text": "OK"
    },
    "lint_control_structure": {
      "manual_review": false,
      "text": "OK"
    },
    "lint_control_version_match": {
      "manual_review": false,
      "text": "OK"
    },
    "lint_description": {
      "manual_review": false,
      "text": "OK"
    },
    "lint_description_present": {
      "manual_review": false,
      "text": "OK"
    },
    "lint_exclusive_hooks_app": {
      "manual_review": false,
      "text": "OK"
    },
    "lint_external_symlinks": {
      "manual_review": false,
      "text": "OK"
    },
    "lint_framework": {
      "manual_review": false,
      "text": "OK"
    },
    "lint_hardcoded_paths": {
      "manual_review": false,
      "text": "OK"
    },
    "lint_hooks_app_apparmor": {
      "manual_review": false,
      "text": "OK (run check-security for more checks)"
    },
    "lint_hooks_app_apparmor_known": {
      "manual_review": false,
      "text": "OK"
    },
    "lint_hooks_app_desktop_known": {
      "manual_review": false,
      "text": "OK"
    },
    "lint_hooks_app_valid": {
      "manual_review": false,
      "text": "OK"
    },
    "lint_hooks_multiple_apps": {
      "manual_review": false,
      "text": "OK"
    },
    "lint_hooks_redflag_app": {
      "manual_review": false,
      "text": "OK"
    },
    "lint_icon_present": {
      "manual_review": false,
      "text": "Skipped, optional icon not present"
    },
    "lint_maintainer_domain": {
      "manual_review": false,
      "text": "OK (package domain=('com.ubuntu.developer.', 'net.launchpad.'))"
    },
    "lint_maintainer_format": {
      "manual_review": false,
      "text": "OK"
    },
    "lint_maintainer_present": {
      "manual_review": false,
      "text": "OK"
    },
    "lint_manifest_architecture_valid": {
      "manual_review": false,
      "text": "OK"
    },
    "lint_md5sums": {
      "manual_review": false,
      "text": "OK"
    },
    "lint_package_filename_arch_match": {
      "manual_review": false,
      "text": "OK"
    },
    "lint_package_filename_arch_valid": {
      "manual_review": false,
      "text": "OK"
    },
    "lint_package_filename_format": {
      "manual_review": false,
      "text": "OK"
    },
    "lint_package_filename_matches_namespace": {
      "manual_review": false,
      "text": "OK"
    },
    "lint_package_filename_pkgname_match": {
      "manual_review": false,
      "text": "OK"
    },
    "lint_package_filename_version_match": {
      "manual_review": false,
      "text": "OK"
    },
    "lint_pkgname_valid": {
      "manual_review": false,
      "text": "OK"
    },
    "lint_preinst": {
      "manual_review": false,
      "text": "OK"
    },
    "lint_sdk_security_extension_app": {
      "manual_review": false,
      "text": "OK"
    },
    "lint_title": {
      "manual_review": false,
      "text": "OK"
    },
    "lint_title_present": {
      "manual_review": false,
      "text": "OK"
    },
    "lint_vcs_files": {
      "manual_review": false,
      "text": "OK"
    },
    "lint_version_valid": {
      "manual_review": false,
      "text": "OK"
    }
  },
  "warn": {}
}
= online_accounts =
{
  "error": {},
  "info": {},
  "warn": {}
}
= push_helper =
{
  "error": {},
  "info": {},
  "warn": {}
}
= scope =
{
  "error": {},
  "info": {},
  "warn": {}
}
= security =
{
  "error": {
    "security_policy_groups_safe_app (debug)": {
      "manual_review": false,
      "text": "(REJECT) reserved policy group 'debug': not for production use"
    }
  },
  "info": {
    "security_ignored_fields (app.apparmor)": {
      "manual_review": false,
      "text": "OK"
    },
    "security_policy_groups_duplicates_app (app.apparmor)": {
      "manual_review": false,
      "text": "OK"
    },
    "security_policy_groups_exists_app (app.apparmor)": {
      "manual_review": false,
      "text": "OK"
    },
    "security_policy_groups_safe_app (networking)": {
      "manual_review": false,
      "text": "OK"
    },
    "security_policy_groups_valid_app (debug)": {
      "manual_review": false,
      "text": "OK"
    },
    "security_policy_groups_valid_app (networking)": {
      "manual_review": false,
      "text": "OK"
    },
    "security_policy_vendor (app.apparmor)": {
      "manual_review": false,
      "text": "OK"
    },
    "security_policy_version_exists (app.apparmor)": {
      "manual_review": false,
      "text": "OK"
    },
    "security_policy_version_is_highest (1.2, app.apparmor)": {
      "manual_review": false,
      "text": "OK"
    },
    "security_policy_version_matches_framework (app.apparmor)": {
      "manual_review": false,
      "text": "OK"
    },
    "security_redflag_fields (app.apparmor)": {
      "manual_review": false,
      "text": "OK"
    },
    "security_template_valid (app.apparmor)": {
      "manual_review": false,
      "text": "OK (none specified)"
    },
    "security_template_with_policy_version (app.apparmor)": {
      "manual_review": false,
      "text": "OK"
    }
  },
  "warn": {}
}
= url_dispatcher =
{
  "error": {},
  "info": {},
  "warn": {}
}
16:34:08: The process "/usr/bin/click" exited with code 1.
16:34:08: Ignoring return code for this step
16:34:08: Uploading file '/home/morgan/qt/build-newApp-u1504_GCC_i386_ubuntu_sdk_14_10_utopic-default/com.ubuntu.developer.username.newapp_0.1_all.click'...
16:34:08: Uploading file '/usr/share/qtcreator/ubuntu/scripts/qtc_device_applaunch.py'...
16:34:08: All files successfully deployed.
16:34:08: Deploy step finished.
16:34:08: Elapsed time: 00:02.

这是我的 manifest.json

{
    "architecture": "all",
    "description": "description of newApp",
    "framework": "ubuntu-sdk-14.10",
    "hooks": {
        "app": {
            "apparmor": "app.apparmor",
            "desktop": "app.desktop"
        }
    },
    "maintainer": "Morgan DURAND <moi@morgan-durand.com>",
    "name": "com.ubuntu.developer.username.newapp",
    "title": "newApp",
    "version": "0.1"
}

编辑 :

我决定从头开始创建一个新的模拟器。

第一步,创建一个模拟器:

enter image description here

Checking installed emulator package.
ii ubuntu-emulator 0.4+15.04.20141104.1-0ubuntu1

Search configured emulator instances.
ubuntui386 ubuntu=20140917,device=20140917,version=243,arch=i386

Detecting device..
Creating new emulator instance.
Creating "ubui386" from devel revision 243
Downloading...

Setting up...

Setting up a default password for phablet to: '0000'

现在,我通过单击“自动创建工具包”来创建新工具包 enter image description here

这是自动创建的结果: enter image description here

这是我的 manifest.json :

{
    "architecture": "all",
    "description": "description of newApp",
    "framework": "ubuntu-sdk-14.10",
    "hooks": {
        "app": {
            "apparmor": "app.apparmor",
            "desktop": "app.desktop"
        }
    },
    "maintainer": "Morgan DURAND <moi@morgan-durand.com>",
    "name": "com.ubuntu.developer.username.newapp",
    "title": "newApp",
    "version": "0.1"
}

我仍然有同样的问题

注意:我创建了一个 i386 图像,因为我无法创建 armhf 图像:

Checking installed emulator package.
ii ubuntu-emulator 0.4+15.04.20141104.1-0ubuntu1

Search configured emulator instances.
cat: /home/morgan/.local/share/ubuntu-emulator/ubuntuarmhf/.device: No such file or directory


Detecting device..
Creating new emulator instance.
Creating "ubuntuarmhf" from devel revision 243
Downloading...

Setting up...

Setting up a default password for phablet to: '0000'

chroot: failed to run command ‘/bin/sh’: Exec format error



Search configured emulator instances.
cat: /home/morgan/.local/share/ubuntu-emulator/ubuntuarmhf/.device: No such file or directory
ubuntu-touch
  • 1 个回答
  • 1445 Views
Martin Hope
Nymeria
Asked: 2014-08-21 05:55:21 +0800 CST

为什么我的应用程序在 ubuntu-touch 上崩溃?

  • 1

我想尝试使用 QML 为 ubuntu-touch 创建一个应用程序!

我创建了一个简单的应用程序:

import QtQuick 2.0
import QtQuick.Controls 1.1
import Ubuntu.Components 0.1
import "components"


/*!
    \brief MainView with a Label and Button elements.
*/
import QtQuick.LocalStorage 2.0
import QtQuick.Layouts 1.1

MainView {
    // objectName for functional testing purposes (autopilot-qt5)
    objectName: "mainView"

    // Note! applicationName needs to match the "name" field of the click manifest
    applicationName: "com.ubuntu.developer.z-admin-angels-gmail-com.oweMe"

    /*
     This property enables the application to change orientation
     when the device is rotated. The default is false.
    */
    automaticOrientation: true

    width: units.gu(100)
    height: units.gu(75)

    Page {
        title: i18n.tr("oweMe")

        Column {
            anchors.rightMargin: 8
            anchors.bottomMargin: 8
            anchors.leftMargin: 24
            anchors.topMargin: 24
            spacing: units.gu(1)
            anchors {
                margins: units.gu(2)
                fill: parent
            }

            Row {
                id: gridButton
                x: 218
                y: 30
                width: 541
                height: 65

                Button {
                    objectName: "addDebpt"
                    text: i18n.tr("add debpt")
                    color: UbuntuColors.midAubergine
                    onClicked: {
                        var component = Qt.createComponent("qml/MyQmlFile.qml");
                                        if (component.status == Component.Ready)
                                            component.createObject(label1, {"x": 100, "y": 100});

                    }
                }

                /*Button {
                    width: 153
                    objectName: "addCommunBuy"
                    text: i18n.tr("add commun Buy")
                    color: UbuntuColors.lightAubergine
                    onClicked: {

                    }
                }*/

                Button {
                    width: 153
                    objectName: "removeDebpt"
                    text: i18n.tr("remove debpt")
                    color: UbuntuColors.lightAubergine
                    onClicked: {

                    }
                }

            } // ButtonGRID
        }

        GridLayout {
            id: gridForm
            x: 42
            y: 92
            width: 622
            height: 340

            Label {
                id: label1
                x: 227
                y: 218
                width: 272
                height: 89
                text: qsTr("Open QML HERE")
                font.pointSize: 21
                horizontalAlignment: Text.AlignHCenter
                wrapMode: Text.WrapAnywhere
            }
        }
    } // grid Content
}

当我用 ubuntu i386 模拟器午餐我的应用程序时,应用程序崩溃......或者当我用桌面运行它时我没有问题

应用程序输出:

Executing: /tmp/com.ubuntu.developer.username.oweme_0.1_all.click Launcher PID: 4502 AppId: com.ubuntu.developer.username.oweme_oweMe_0.1 Architecture: all

Transaction:    Installing files Status:    Waiting in queue Status:    Starting Status:    Finished Transaction:   Installing files Status:    Waiting in queue Status:    Waiting for authentication Status:  Waiting in queue Status:    Starting Status:    Finished Results: Installed    com.ubuntu.developer.username.oweme-0.1.all (installed:click,removable=1,app_name=oweMe) Application installed, executing Registering hooks Start Application Application started: 4572



Received a failed event The Application exited, cleaning up Transaction:    Removing Status:    Waiting in queue Status:    Starting Status:    Finished Transaction:   Removing Status:    Waiting in queue Status:    Waiting for authentication Status:  Waiting in queue Status:    Starting Status:    Finished Results:

和一般输出:

[15:38:15] ii 单击-reviewers-tools 0.8-0~214~ubuntu14.04.1

和我的编译输出:

16:28:56: Running steps for project oweMe...
sending incremental file list
deleting qtc_device_debughelper.py
./
oweMe.desktop
oweMe.json

sent 682 bytes  received 89 bytes  1.54K bytes/sec
total size is 46.47K  speedup is 60.27
16:28:56: The process "/usr/bin/rsync" exited normally.
WARNING:root:Ignoring missing framework "ubuntu-sdk-14.10-dev2"
Successfully built package in './com.ubuntu.developer.username.oweme_0.1_all.click'.
16:28:56: The process "/usr/bin/click" exited normally.
16:28:56: The click package has been created in /home/morgan/build-oweMe-ubuntui386_GCC_i386_ubuntu_sdk_14_10_utopic-default
16:28:56: Connecting to device...
16:28:57: Uploading file '/home/morgan/build-oweMe-ubuntui386_GCC_i386_ubuntu_sdk_14_10_utopic-default/com.ubuntu.developer.username.oweme_0.1_all.click'...
16:28:57: Uploading file '/usr/share/qtcreator/ubuntu/scripts/qtc_device_applaunch.py'...
16:28:57: All files successfully deployed.
16:28:57: Deploy step finished.
16:28:57: Elapsed time: 00:02.
application-development
  • 1 个回答
  • 274 Views
Martin Hope
Nymeria
Asked: 2014-08-20 01:03:00 +0800 CST

为什么我不能将 redshift 添加到启动?

  • 2

最近,我发现红移(如果你晚上在屏幕前工作,可以帮助你的眼睛减少伤害)

我可以使用命令行运行这些工具: redshift-gtk

我运行“启动管理器”: 在此处输入图像描述

我添加了一个条目:

在此处输入图像描述

当我重新启动计算机时,当我启动计算机时,redshift 不会启动

startup
  • 3 个回答
  • 7642 Views
Martin Hope
Nymeria
Asked: 2014-07-02 21:46:46 +0800 CST

如何使用 firefox 从命令行截取整页屏幕截图?[复制]

  • 18
这个问题在这里已经有了答案:
如何截取完整的网页? (6 个答案)
6 年前关闭。

我需要截取整个网页的屏幕截图。

我已经看到如何从命令行截取网页的整页屏幕截图?其中提出了许多截屏方法,但我需要使用 firefox 以获得更好的效果。

firefox
  • 3 个回答
  • 17042 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve