这是indexloc提供的服务,不要输入任何密码
Skip to content

Help using qmlweb with nodejs server #458

@boergerj

Description

@boergerj

Hello,

I have used qml for embedded and desktop applications but now I am working on a web development project and was overjoyed to find this repository. I'm having trouble using it however and was looking for guidance.

I'm trying to run a webpage from a raspberry pi using nodejs to create the server. I ran the npm install, created a basic html based on one of the examples and created a qml folder with a basic file there as well. When I run the server, I can see the html page populate as the head is present. However, I cannot see any qml populate the page. Any ideas of what is going wrong? Here is my file structure:
---project_folder
------ server.js
------ views
--------- index.html
--------- qml
------------ main.qml

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions