Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Is it a bug in Qt Creator?
Forum Updated to NodeBB v4.3 + New Features

Is it a bug in Qt Creator?

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
8 Posts 4 Posters 546 Views 1 Watching
  • 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.
  • O Offline
    O Offline
    open-src
    wrote on 10 May 2024, 07:20 last edited by
    #1

    01456a52-f316-4710-8c60-979ec704ff8a-图片.png

    There was a problem when I ran a ui prototype project using a custom qml module.

    J 1 Reply Last reply 11 May 2024, 13:46
    0
    • J Online
      J Online
      jsulm
      Lifetime Qt Champion
      wrote on 10 May 2024, 07:32 last edited by
      #2

      What is se.qt.mymodule and where is it located?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      O 1 Reply Last reply 10 May 2024, 07:49
      0
      • C Offline
        C Offline
        Christian Ehrlicher
        Lifetime Qt Champion
        wrote on 10 May 2024, 07:32 last edited by
        #3

        ... and why do you develop under root?

        Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
        Visit the Qt Academy at https://academy.qt.io/catalog

        1 Reply Last reply
        1
        • J jsulm
          10 May 2024, 07:32

          What is se.qt.mymodule and where is it located?

          O Offline
          O Offline
          open-src
          wrote on 10 May 2024, 07:49 last edited by
          #4

          @jsulm
          The "se.qt.mymodule" module is located in /opt/modules/

          the qml-demo project lies in /root/

          J 1 Reply Last reply 10 May 2024, 07:52
          0
          • O open-src
            10 May 2024, 07:49

            @jsulm
            The "se.qt.mymodule" module is located in /opt/modules/

            the qml-demo project lies in /root/

            J Online
            J Online
            jsulm
            Lifetime Qt Champion
            wrote on 10 May 2024, 07:52 last edited by
            #5

            @open-src said in Is it a bug in Qt Creator?:

            the qml-demo project lies in /root/

            Why?
            You never ever should work as root!

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0
            • O Offline
              O Offline
              open-src
              wrote on 10 May 2024, 11:28 last edited by
              #6

              The project can run successfully using QtCreator 9.0 .

              1 Reply Last reply
              0
              • O open-src
                10 May 2024, 07:20

                01456a52-f316-4710-8c60-979ec704ff8a-图片.png

                There was a problem when I ran a ui prototype project using a custom qml module.

                J Offline
                J Offline
                JKSH
                Moderators
                wrote on 11 May 2024, 13:46 last edited by
                #7

                @open-src Looks like Qt Design Studio doesn't handle absolute paths in importPaths. Please open a bug report at https://bugreports.qt.io/ and share your link here.

                For now, you can try "../../opt/modules/". But I agree with the others: it is not a good idea to develop, build, and test apps as root

                Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                O 1 Reply Last reply 11 May 2024, 15:33
                1
                • J JKSH
                  11 May 2024, 13:46

                  @open-src Looks like Qt Design Studio doesn't handle absolute paths in importPaths. Please open a bug report at https://bugreports.qt.io/ and share your link here.

                  For now, you can try "../../opt/modules/". But I agree with the others: it is not a good idea to develop, build, and test apps as root

                  O Offline
                  O Offline
                  open-src
                  wrote on 11 May 2024, 15:33 last edited by open-src 5 Nov 2024, 15:34
                  #8

                  @JKSH said in Is it a bug in Qt Creator?:

                  @open-src Looks like Qt Design Studio doesn't handle absolute paths in importPaths.

                  Thanks, that‘s what I means.

                  @JKSH said in Is it a bug in Qt Creator?:

                  But I agree with the others: it is not a good idea to develop, build, and test apps as root

                  Thanks, I know it, and I won't be using the root user in my official work.

                  1 Reply Last reply
                  0

                  1/8

                  10 May 2024, 07:20

                  • Login

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