Skip to content

International

Language specific discussions from Albanian to Turkiye

4.1k Topics 17.4k Posts

Subcategories


  • A forum for those speaking Albanian
    21 Topics
    65 Posts
    A

    pershendetje
    me ndihmen e juaj mund ta zgjidhim kam provuar por nuk ja kam dalur.
    shiko nje foto .

    https://imgur.com/AUIDfi2

  • A forum for those speaking Bulgarian
    57 Topics
    522 Posts
    P

    Успях да намеря начин:
    След като с tasklist взема PID на процеса:
    QProcess wmic;
    wmic.start("wmic process where processID=" + pid + " get CommandLine");
    wmic.waitForFinished();
    output = wmic.readAllStandardOutput();
    QString result = output.split("\n").at(1);
    -> Път + екзе = result.split(" ").at(0).toLower()

  • A forum for those speaking Chinese
    662 Topics
    2k Posts
    jsulmJ

    @Lee_Corl Please read the link I gave you.
    On Windows you link *.lib files like:

    win32:LIBS += "C:/mylibs/extra libs/extra.lib"

    And please post text, not pictures...

  • A forum for those speaking Finnish
    11 Topics
    32 Posts
    M

    CLDR (Unicode Common Locale Data Repository), jota Qt nähtävästi käyttää, sanoo (common/main/fi.xml):

    <unit type="digital-byte"> <displayName>tavut</displayName> <unitPattern count="one">{0} tavu</unitPattern> <unitPattern count="one" case="elative">{0} tavusta</unitPattern> <unitPattern count="one" case="genitive">{0} tavun</unitPattern> <unitPattern count="one" case="illative">{0} tavuun</unitPattern> <unitPattern count="one" case="partitive">{0} tavua</unitPattern> <unitPattern count="other">{0} tavua</unitPattern> <unitPattern count="other" case="elative">{0} tavusta</unitPattern> <unitPattern count="other" case="genitive">{0} tavun</unitPattern> <unitPattern count="other" case="illative">{0} tavuun</unitPattern> <unitPattern count="other" case="partitive">{0} tavua</unitPattern> </unit>

    eli Qt:llä on dataa, mutta sitä ei osata käyttää.

    qtbase/util/locale_database/ldml.py yrittää ilmeisesti tehdä hakuja, mutta tekee puutteellisesti, koska units/unitLength[long]/unit[digital-byte]/unitPattern[count=other] ei koskaan haeta (vain short ja narrow haetaan, ei long).

    Markku

  • A forum for those speaking French

    141 Topics
    733 Posts
    M

    Non. La machine d'états (ME par la suite) passe d'un état à l'autre, c'est tout. Pour autant j'utilise dans ce même programme deux autres ME qui ne posent pas de soucis, tout fonctionne comme prévu (et d'ailleurs cela m'économise du temps, du code et me permet de formaliser graphiquement la dynamique système).

    Après quelques tests je suis arrivé à la conclusion que les évènements de la ME sont traités en dernier juste avant de rendre la main à l'utilisateur de l'IHM, ou alors c'est la boucle d'évènements qui est traitée après le code.
    Ainsi les changements d'états ne sont pas réalisés de suite après un submitEvent(), ce qui pose problème quand on interroge l'état actif de la ME juste après le submitEvent() et avant que l'appli ne redonne la main à l'utilisateur. D'où la solution envisagée, déconseillée par la doc Qt, mais qui fonctionne.

    Tu proposes d'arrêter la ME après chaque submitEvent() ? Auquel cas il faudrait la redémarrer avant de faire un nouveau changement d'états ?

    J'ai imaginé une autre solution sans savoir si ça pourrait marcher :

    au sein de l'application lancer une autre boucle d'évènements ; raccrocher les machines d'états à cette nouvelle boucle d'évènements qui ne serait pas "poluée" par les évènements IHM.

    Dans l'hypothèse ou le code de la boucle d'évènements n'est exécuté qu'après le code de l'application, cela ne résoudrait rien, sauf si cette nouvelle boucle d'évènement pour la ME est lancée dans un autre thread. Mais là pour moi, c'est encore un territoire inconnu...

  • A forum for those speaking German
    680 Topics
    4k Posts
    F

    @Pl45m4
    Hallo und vielen Dank!!!!

  • A forum for those speaking Greek
    42 Topics
    171 Posts
    georgeG

    Κατ΄ αρχήν καλώς σας βρήκα.
    Είμαι νέος χρήστης του Qt, και έχω μικρή εμπειρία σε C++
    Προσπαθώντας να εξοικοιωθώ με τα βασικά, δημιούργησα με τον Qt creator την ελάχιστη εφαρμογή με τον παρακάτω κώδικα:
    Header:

    #ifndef CWINDOW_H #define CWINDOW_H #include <QMainWindow> namespace Ui { class CWindow; } class CWindow : public QMainWindow { Q_OBJECT public: explicit CWindow(QWidget *parent = 0); ~CWindow(); private: Ui::CWindow *ui; }; #endif // CWINDOW_H

    Αρχείο CPP:

    #include "cwindow.h" #include "ui_cwindow.h" CWindow::CWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::CWindow) { ui->setupUi(this); } CWindow::~CWindow() { delete ui; }

    Αρχείο με την συνάρτηση main():

    #include "cwindow.h" #include <QApplication> int main(int argc, char *argv[]) { QApplication a(argc, argv); CWindow w; w.show(); return a.exec(); }

    Στο αρχείο main δημιουργείται ένα νέο αντικείμενο w της κλάσης CWindow, σωστά;
    CWindow w;

    Όμως δημιουργείται ακόμα ένα νέο αντικείμενο της κλάσης CWindow μέσω του δείκτη *ui
    CWindow::CWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::CWindow)

    Αν στα παραπάνω δεν έχει κάποιος αντίρρηση, το ερώτημα που έχω είναι γιατί πρέπει να δημιουργηθούν δύο αντικείμενα της ίδιας κλάσης CWindow;

  • A forum for those speaking Hungarian
    27 Topics
    131 Posts
    sbelaS
    Ha létrehozol egy "Non-Qt Project"-et ami "Plain C++ application" akkor ez lesz a .pro fájlban

    TEMPLATE = app
    CONFIG += console c++17
    CONFIG -= app_bundle
    CONFIG -= qt

    SOURCES +=
    main.cpp

    és akkor a képernyőképen látható kódod le kell forduljon. A te .pro fájlodban mi van?
    Ott ronthatod el ha a telepítéskor nem telepíted fel a c++ fordítót a kipipálható résznél.

  • A forum for members from India
    198 Topics
    1k Posts
    sierdzioS

    Edit -> Preferences... -> Environment -> Theme.

  • A forum for those speaking Italian
    456 Topics
    2k Posts
    U

    @VRonin Come mi hai e hanno consigliato nell'altro topic, ho provato a rimuovere i loop e a utilizzare invece i segnali.

    Ho anche creato alcune classi, una per ogni funzionalità che voglio che il mio programma abbia, ma ancora non riesco a farlo funzionare bene.

    Ho letto nella documentazione che "QMqttClient::connected()" è un segnale inviato quando il client è connesso correttamente all'host, ma c'è ancora qualcosa che mi manca, perché non riesco ancora a usarlo correttamente. Quando provo ad usarlo in una funzione "connect", mi restituisce l'errore che puoi vedere nell'immagine qui sotto:Schermata del 2024-09-11 18-07-07.png

    Ho provato la mia implementazione, ma ancora senza successo. Queste sono le mie funzioni ora:

    https://drive.google.com/file/d/1GamXYJo1XufG94AD24Xa1UOF2zJ1XkBz/view?usp=sharing

    So che mi manca qualcosa, ma non riesco ad arrivare al punto in cui capisco cosa sto effettivamente facendo di male.

  • A forum for those speaking Japanese
    93 Topics
    299 Posts
    Y

    Qtアプリケーションを仮想の画面として用意し、他のデバイスからアクセスする方法を探しています。

    これを実現する方法としてVNCサーバーを利用する方法があるようですが、これをWindows10で行うことはできますでしょうか?
    あるいは別のやり方で実現する方法はありますでしょうか?

  • A forum for those speaking Korean

    48 Topics
    78 Posts
    K

    우분투를 사용하며 Qt Creator를 이용하여 외부 라이브러리를 추가하여 실행하려고 하는데요 한국어 현재 라이브러리를 적용하여 실행하는 과정이 있는가요? 글과 사진을 포함한 설명이었으면 좋겠습니다.
    블로그나 카페 등이 있다면 알려주세요.

    스크린샷 2024-07-29 01-50-22.png

    알려주시면 감사합니다. ㅠㅠ

  • A forum for those speaking Persian
    364 Topics
    2k Posts
    A

    اگر وکتورایز شده هستند نقشتون میتونید از اس دس کس هایی مثل آرک جی آی اس استفاده کنید که کتابخونه کاملی رو در اختیارتون قرار میده و داکیومنت خوبی داره
    من خودم از این کتابخونه استفاده میکنم همیشه
    https://developers.arcgis.com/qt/

  • A forum for those speaking Polish
    293 Topics
    1k Posts
    K

    Ustaliłem, że gdy mam ustawiony ciemny motyw w Windowsie 11 to występuje ten błąd. Po zmianie na jasny motyw błąd znika i podgląd wydruku jest prawidłowy.

  • A forum for those speaking Portuguese
    417 Topics
    2k Posts
    M

    Ola! Sou novo no Qt e estou com dificuldade para criar uma Shared Library para suar em meu App Android. Teriam um exemplo? Ate fiz um projeto e usei jni e chamo em meu app, ams sempre que adiciono o QCoreAppplication o app crasha ao chamar o metodo.

  • A forum for those speaking Romanian
    28 Topics
    111 Posts
    T

    if i have 123.656
    i want the 124 number in qt into quint16

    [Locked as duplicate of: https://forum.qt.io/topic/113231/how-to-convert-double-number-to-quint16 ~kshegunov]

  • A forum for those speaking Spanish
    505 Topics
    2k Posts
    W

    Buenas tardes

    alguien que tenga estilos en QSS que me pueda enseñar para seleccionar uno y comprarlo

    gracias

  • Turkiye
    96 Topics
    288 Posts
    A

    merhaba başlıktan da anlaşıldığı gibi Qt6 yı çapraz derleyerek Ubuntu 22 üzerinden rpi4 64bit için çapraz derlemek istiyorum fakat neredeyse internetteki tüm derlemeleri uyguladım sürekli hata veriyor.
    test edilmiş bir klavuz önerebilecek olan var mı? yada rpi için Qt6 eklenmiş hazır bir imaj.
    Qt6 yı kaynaktan derliyourum ubuntu üzerinde çalışıyor fakat çapraz derlemede arm64 yada aarch64 için derlemiyor derlenen uygulamanın file ile görünümü x86_64 oluyor.
    teşekkürler