jurplel / install-qt-action

Install Qt on your Github Actions workflows with just one simple action
MIT License
459 stars 78 forks source link

Hi! how to make it has Qt::StateMachine? #249

Closed mowangshuying closed 1 month ago

mowangshuying commented 1 month ago

when i want to use Qt::StateMachine, i use follow config:

  - name: Install Qt
        uses: jurplel/install-qt-action@v3
        with:
          version: ${{ matrix.qt_ver }}
          cache: ${{steps.cache-qt.outputs.cache-hit}}
          arch: ${{ matrix.qt_arch }}
          modules: 'qt5compat qtmultimedia qtshadertools qtimageformats qt3d qtstatemachine'

but Specified modules ['qtstatemachine'] did not exist. how can i install Qt::StateMachine? Thanks.

mowangshuying commented 1 month ago

image

pzhlkj6612 commented 1 month ago

Hi.

when i want to use Qt::StateMachine, i use follow config:

Question: did you install the "Qt::StateMachine" locally when you develop your program on your PC? Is there an option in Qt's official installer about this module?

I didn't know this module before. After reading https://doc.qt.io/qt-6/qtstatemachine-index.html , I didn't find anything like "installation guide", so I guess that this module is built-in. Please correct me if I'm wrong.

mowangshuying commented 1 month ago

image

mowangshuying commented 1 month ago

"StateMachine" is not build-in these moudle 'qt5compat qtmultimedia qtshadertools qtimageformats qt3d' , it may be build-in other moudle, i try to insall other moudle to test it.

jurplel commented 1 month ago

Try installing the qtscxml module.

I was able to get that information using this command: aqt list-qt mac desktop --long-modules 6.7.2 clang_64

mowangshuying commented 1 month ago

Very Thanks.

pzhlkj6612 commented 1 month ago

using this command: aqt list-qt mac desktop --long-modules 6.7.2 clang_64

Or this online tools: https://ddalcino.github.io/aqt-list-server/

qtscxml: Qt State Machine for macOS

Please note:

The Qt SCXML module differs from the State Machine framework in the Qt State Machine module in that ...

https://doc.qt.io/qt-6/qtscxml-overview.html

.

mowangshuying commented 1 month ago

No wonder it's you. Compiled it and it is feasible at CI.

pzhlkj6612 commented 1 month ago

Compiled it and it is feasible at CI.

It does work? Good to hear that!

mowangshuying commented 1 month ago
It is effective, and the compilation was successful.
Thank you very much, you worked hard.

image