cplusplusqt | Unsorted

Telegram-канал cplusplusqt - C++ & Qt

1169

Link: @CplusplusQt Embedded: @EMBCpp • Allowed Topics: C++ and everything related to Qt • Use only English • No Private Message without asking user's permission • No NSFW • No Spam • No unauthorized Bots • No Offtopic • No Self Promotions

Subscribe to a channel

C++ & Qt

But it works on desktop?

Читать полностью…

C++ & Qt

What kind of issues did you have?

Читать полностью…

C++ & Qt

last month I read the «qt6book-with-frontpage» to learn qml developing, in order to practice so I start to develop the application with qml version, everything is ok in desktop, so I try to port it to android device, then it meet some questions that I can not resolve, so I switch to Qt QWidget and hope it can work well in the android devices. but now seems still have some issue need to resolve.

Читать полностью…

C++ & Qt

Any one try build ADB ?

Читать полностью…

C++ & Qt

Any one try build ADB ?

Читать полностью…

C++ & Qt

Do not waste your time coding Qwidgets. You will regret.
It will take 1 month to learn QML from beginners to advanced level.

Читать полностью…

C++ & Qt

Qt Widgets is a mature technology that gets constantly updated and improved.

I would not call it obsolete just because it doesn't work for some cases.

Читать полностью…

C++ & Qt

Qml supports Android. Forget qWidgets. It is obsolete technology and is suitable for desktop apps only. Use QML everywhere.

Читать полностью…

C++ & Qt

these days I use cmake and Qt Widget developed an android app, but it always with multiple issues. I was so crasy, I think use Qt to develop android app just like wearing iron shoes to play basketball.😓

Читать полностью…

C++ & Qt

There's an example in the repo for that too.

Читать полностью…

C++ & Qt

Imgui supports android natively

Читать полностью…

C++ & Qt

I actually haven't tried this, but it seems that it would work.

Читать полностью…

C++ & Qt

As the documentation states,

It cannot refer to objects declared outside of the scope of its type.

The type of the first property should also include the second property, so for some properties, this may work, and for some, it will not. For example, palette.button cannot be aliased, but font.pixelSize can.

Читать полностью…

C++ & Qt

This is relevant info. But as I remember I have only two level depth.

Читать полностью…

C++ & Qt

yes, I read. But in practice there are cases not covered in the manual.

Читать полностью…

C++ & Qt

I have two qml files, which one be imported in another one, but when the application setup and running. it show that the one be imported can not found

Читать полностью…

C++ & Qt

maybe it's because I only have little the mobile developing experiences.

Читать полностью…

C++ & Qt

yes, I need to add some logger in it for my work.

Читать полностью…

C++ & Qt

Any one try build ADB ?

Читать полностью…

C++ & Qt

re:"Do not waste yiur time coding Qwidgets. You will regret.". Just because you don't find a use for it, does not mean anyone who uses it will "regret".
These are just tools, use which ever works for your project. No need to dismiss a whole industry based on your personal opinion/experience.


re:"It will take 1 month to learn QML from beginners to advanced level.". That is hard to believe. It might be possible, but rare. Everyone is different. Some need weeks, some months, some years. Some never do get the hang of it)

Читать полностью…

C++ & Qt

Qml applications also tend to be more modern looking. I’m not sure you can do MDI for instance.

Читать полностью…

C++ & Qt

Yes, widgets has never really been suitable for android. It works, but it looks like a desktop application (strangely skinned) squeezed into a really small screen. QML is much nicer.

Читать полностью…

C++ & Qt

It's recommended to use QML for android development. It's more suited for touch-based devices.

See the docs as a starter: https://doc.qt.io/qt-6/android.html

Читать полностью…

C++ & Qt

You can post your job openings here.

Читать полностью…

C++ & Qt

Have you tried —verbose

Читать полностью…

C++ & Qt

Iirc you should use Qt Creator IDE with all Android development settings right to properly program for Android apps.
In the project you can use C++ as the backend and QML as the frontend.

Читать полностью…

C++ & Qt

I think I can define something like operator << (QDataStream), operator >> (QDataStream) and the type of whole object will be convertible to QVariant and it will be used in Settings.

Читать полностью…

C++ & Qt

this is truth. How can I make QML_ELEMENT compatible with Settings? Should I define some serialization/deserialization member functions?

Читать полностью…

C++ & Qt

the link contains anchor to particular line of code. Both links

Читать полностью…

C++ & Qt

1000+ lines for a QML file is too much. However, you should be able to set an alias for viewer.renderer.cameraView, but only up to two levels of depth, not more.
https://doc.qt.io/qt-6/qtqml-syntax-objectattributes.html#property-aliases

It cannot refer to properties inside a hierarchy with depth 3 or greater

Читать полностью…
Subscribe to a channel