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. Qt configuration tool for Yocto project
Forum Updated to NodeBB v4.3 + New Features

Qt configuration tool for Yocto project

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
8 Posts 2 Posters 855 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.
  • S Offline
    S Offline
    Shen sida
    wrote on last edited by Shen sida
    #1

    Hi all

    We want to use Qt configuration tool to configure the Qt 6.4.2 in our customized Yocto image 5.15.52.
    Now we have this tool but we need to know the folder with configuration file, or what we need to insert into the file name local.conf first.

    BTW, Qt configuration tool help could not be loaded.
    8a6ca1e2-5a35-4aab-bd9c-e216f0ba9e93-2024-03-15 09-56-51 的屏幕截图.png /home/vmuser/图片/2024-03-15 09-56-51 的屏幕截图.png

    Looking forward to your reply.
    Best regards

    1 Reply Last reply
    0
    • Ronel_qtmasterR Offline
      Ronel_qtmasterR Offline
      Ronel_qtmaster
      wrote on last edited by
      #2

      Qt configuration tool and local.conf are two things differents.Please tell exactly what you want to do and preferably add it in the local.conf

      S 1 Reply Last reply
      0
      • Ronel_qtmasterR Ronel_qtmaster

        Qt configuration tool and local.conf are two things differents.Please tell exactly what you want to do and preferably add it in the local.conf

        S Offline
        S Offline
        Shen sida
        wrote on last edited by
        #3

        @Ronel_qtmaster
        I want to add Qt plugin about sqlite, and setup the namespace for Qt library files.

        Ronel_qtmasterR 1 Reply Last reply
        0
        • S Shen sida

          @Ronel_qtmaster
          I want to add Qt plugin about sqlite, and setup the namespace for Qt library files.

          Ronel_qtmasterR Offline
          Ronel_qtmasterR Offline
          Ronel_qtmaster
          wrote on last edited by
          #4

          @Shen-sida then it has nothing to do with qt configuration tool.You will have to add it in the qt receipe and in local conf as well.Which step are you in?
          have you cloned yocto branch already?
          Did you add meta-qt receipe to yocto?
          have you already built a simple image?

          S 1 Reply Last reply
          1
          • Ronel_qtmasterR Ronel_qtmaster

            @Shen-sida then it has nothing to do with qt configuration tool.You will have to add it in the qt receipe and in local conf as well.Which step are you in?
            have you cloned yocto branch already?
            Did you add meta-qt receipe to yocto?
            have you already built a simple image?

            S Offline
            S Offline
            Shen sida
            wrote on last edited by
            #5

            @Ronel_qtmaster said in Qt configuration tool for Yocto project:

            have you cloned yocto branch already?
            Did you add meta-qt receipe to yocto?
            have you already built a simple image?

            Yes, I had built the image with Qt, but there is no sqldirvers in plugin.
            a7ac9d4f-c28e-435a-a475-c926430a3ae9-2024-03-18 17-14-53 的屏幕截图.png
            Then I tried to add QT_CONFIG_FLAGS in file qtbase_git.bb to implement it but it doesn't work.
            77413a8c-a776-4829-9ff8-7fc171ecf24b-2024-03-18 17-16-29 的屏幕截图.png

            Ronel_qtmasterR 1 Reply Last reply
            0
            • S Shen sida

              @Ronel_qtmaster said in Qt configuration tool for Yocto project:

              have you cloned yocto branch already?
              Did you add meta-qt receipe to yocto?
              have you already built a simple image?

              Yes, I had built the image with Qt, but there is no sqldirvers in plugin.
              a7ac9d4f-c28e-435a-a475-c926430a3ae9-2024-03-18 17-14-53 的屏幕截图.png
              Then I tried to add QT_CONFIG_FLAGS in file qtbase_git.bb to implement it but it doesn't work.
              77413a8c-a776-4829-9ff8-7fc171ecf24b-2024-03-18 17-16-29 的屏幕截图.png

              Ronel_qtmasterR Offline
              Ronel_qtmasterR Offline
              Ronel_qtmaster
              wrote on last edited by
              #6

              @Shen-sida To enable sqlile you should just add
              PACKAGECONFIG_append = " sql-sqlite" in qtbase_%.bbappend not in qtbase_git.bb

              qtbase_%.bbappend file is in meta-qt5 folder, under recipes-qt, then qt5

              S 1 Reply Last reply
              0
              • Ronel_qtmasterR Ronel_qtmaster

                @Shen-sida To enable sqlile you should just add
                PACKAGECONFIG_append = " sql-sqlite" in qtbase_%.bbappend not in qtbase_git.bb

                qtbase_%.bbappend file is in meta-qt5 folder, under recipes-qt, then qt5

                S Offline
                S Offline
                Shen sida
                wrote on last edited by
                #7

                @Ronel_qtmaster said in Qt configuration tool for Yocto project:

                PACKAGECONFIG_append = " sql-sqlite" in qtbase_%.bbappend not in qtbase_git.bb

                Thanks a lot
                Do we need to use PACKAGECONFIG_append = " plugin-sql-sqlite" to be the plugin? Because we want to use the cipher sqlite plugin.

                Ronel_qtmasterR 1 Reply Last reply
                0
                • S Shen sida

                  @Ronel_qtmaster said in Qt configuration tool for Yocto project:

                  PACKAGECONFIG_append = " sql-sqlite" in qtbase_%.bbappend not in qtbase_git.bb

                  Thanks a lot
                  Do we need to use PACKAGECONFIG_append = " plugin-sql-sqlite" to be the plugin? Because we want to use the cipher sqlite plugin.

                  Ronel_qtmasterR Offline
                  Ronel_qtmasterR Offline
                  Ronel_qtmaster
                  wrote on last edited by
                  #8

                  @Shen-sida no sqlite is already the plugin

                  1 Reply Last reply
                  0
                  • S Shen sida has marked this topic as solved on

                  • Login

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