Skip to content

International

Language specific discussions from Albanian to Turkiye

4.3k Topics 17.6k Posts

Subcategories


  • A forum for those speaking Albanian
    22 66
    22 Topics
    66 Posts
    A
    Nëse jeni aktiv në Qt bëje një like.
  • A forum for those speaking Bulgarian
    57 522
    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
    722 2k
    722 Topics
    2k Posts
    C
    [image: dc2880e7-0937-4483-91de-5cc6b1e0664b.png] 项目升级QT6后启动 ASSERT failure in class QFactoryLoader *__cdecl QtGlobalStatic::ApplicationHolder<struct `anonymous namespace'::Q_QAS_qtlsbLoader>::pointer(void) noexcept(false): "The application static was used without a QCoreApplication instance", file C:/Users/qt/work/qt/qtbase/src/corelib/kernel/qapplicationstatic.h, line 59 这是什么原因造成
  • A forum for those speaking Finnish
    11 32
    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

    161 814
    161 Topics
    814 Posts
    SGaistS
    Je suis content qu'une solution ait été trouvée ! Malheureusement je sèche, désolé.
  • A forum for those speaking German
    720 4k
    720 Topics
    4k Posts
    Pl45m4P
    @RoadCoder said in subdirs Projekt mit cmake?: gehen subdirs mit cmake nicht oder mache ich das was falsch? Hi, jap. Wenn ich mich nicht irre, ist "subDirs" bzw. SubDir-Project eine Bezeichnung von QMake. Meine das Macro bzw. die QMake Funktion heißt sogar so. Jetzt noch extra QMake zu lernen, halte ich aber für völligen Blödsinn, da Qt die Weiterentwicklung eingestellt hat und mittlerweile CMake der Standard und das empfohlene Buildsystem für Qt Apps ist. Und bei CMake erübrigt sich das ganze SubDir Theater ja, weil du ja eh in jedem Verzeichnis (theoretisch) ne eigene CMakeLists.txt anlegen kannst, die weitere Unterordner und andere Targets verwaltet :)
  • A forum for those speaking Greek
    42 171
    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 132
    27 Topics
    132 Posts
    KutyusK
    @Kaguro Szia! Hol szoktatok hirdetni, mert én is többször kerestem már kifejezetten QT állást, de talán eddig egy külföldire akadtam csak.
  • A forum for members from India
    203 1k
    203 Topics
    1k Posts
    V
    I'm not a developer. I'm using Telegram app for instant messaging. I believe it uses Qt interface. In Debian, we have something called 'qt5ct' through which we can change Qt interface settings. When I change the font in qt5ct, it gets reflected in KDE applications like Kate editor. But not in Telegram. Telegram is also installed using the apt package manager, not the AppImage one.
  • A forum for those speaking Italian
    465 2k
    465 Topics
    2k Posts
    mrdebugM
    Probabilmente ti mancano le dll. In console vedi qualcosa?
  • A forum for those speaking Japanese
    96 304
    96 Topics
    304 Posts
    M
    Qt初心者(C++経験はあります)なのですが、実行ファイルにアイコン(.ico)を設定したいのですが、うまくできません。 AIに聞くと、リソースファイルに画像を登録し(登録が適切な表現かは分かりません)、CMakeの方でパスを設定しろと言われたのでやっています。 そうすると表示されません。 皆さんが普段やっているアイコン設定を教えていただきたいです。
  • A forum for those speaking Korean

    50 84
    50 Topics
    84 Posts
    j2dollJ
    QVector를 QThread 간 통신에서 signal과 slot을 통해 전달할 수 있습니다. QVector<int> 같은 기본적인 타입의 QVector는 Qt의 QueuedConnection에서 자동으로 복사되어 전달됩니다. 1. QVector를 signal과 slot을 통해 전달하는 예제 아래 예제에서는 두 개의 QThread가 있고, 하나의 스레드에서 QVector<int> 데이터를 생성하여 다른 스레드로 전달하는 방식입니다. // 데이터를 생성하는 스레드 class Producer : public QThread { Q_OBJECT signals: void dataProduced(QVector<int> data); protected: void run() override { QVector<int> data = {1, 2, 3, 4, 5}; emit dataProduced(data); // QVector 전달 msleep(1000); } }; // 데이터를 처리하는 스레드 class Consumer : public QThread { Q_OBJECT public slots: void processData(QVector<int> data) { qDebug() << "Received QVector<int>:" << data; } }; int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); Producer producer; Consumer consumer; QObject::connect(&producer, &Producer::dataProduced, &consumer, &Consumer::processData, Qt::QueuedConnection); consumer.start(); producer.start(); producer.wait(); consumer.quit(); consumer.wait(); return a.exec(); } 2. 요약 QVector<int> 같은 기본 타입을 담은 QVector는 Qt의 QueuedConnection에서 자동으로 복사 전달됩니다. 만약 QVector<MyClass>처럼 사용자 정의 클래스가 포함된 경우, Q_DECLARE_METATYPE(MyClass) 및 qRegisterMetaType<QVector<MyClass>>()을 호출해야 합니다. 대량의 데이터를 처리할 경우, 복사 비용을 줄이기 위해 const QVector<int>& 같은 참조를 사용하면 좋습니다. 이렇게 하면 QVector를 QThread 간 안전하게 전달할 수 있습니다.
  • A forum for those speaking Persian
    366 2k
    366 Topics
    2k Posts
    B
    با توجه به اینکه بسیاری از سایت ها روی ایرانی ها بسته است آماده کردن محیط کیوتی برای برنامه نویسی آندروید اغلب نیمه کاره می ماند. من دستورالعملی لازم دارم که با استفاده از سایت های ایرانی بتوان اندروید را کیوتی نصب و کار را تکمیل نمود
  • A forum for those speaking Polish
    296 1k
    296 Topics
    1k Posts
    K
    Witam Funkcja otrzymuje listę wyrazów do obróbki. Ma sprawdzić czy w wyrazach listy występuje litera char1 . Jeśli wystąpi to usuwa dany wyraz z listy za pomocą metody QString.removeAt(). Nie wiem dlaczego gdy włączona jest metoda funkcja nie usuwa wszystkich wyrazów z literą a. Proszę o pomoc w wyjaśnieniu dlaczego tak się dzieje. QList<QString> MainWindow::searchWord(QList<QString> lista) { QString char1 = ui->lineEdit_6->text(); for( int n = 0; n < lista.size(); n++) { for (int i = 0; i < lista[i].size(); i++) { if(char1 == lista[n][i]) { qDebug() << lista[n]; lista.removeAt(n); } } } qDebug() << lista; return lista; } Tak wygląda wynik działania z metodą removeAt(): "polać" "polał" "polań" "polia" "polja" "polka" "polna" QList("polak", "polan", "polar", "polce", "polec", "poleć", "polej", "polek", "polem", "poleń", "polep", "poler", "polew", "poleź", "poleż", "polik", "polio", "polip", "polis", "poliu", "poliż", "polje", "polji", "polju", "polką", "polkę", "polki", "polko", "polną", "polne", "polni", "polny", "polom", "polon", "polor", "polot", "polub", "poluj") Funkcja pomija polak, polan, polar. Bez metody QString.removeAt(): QList<QString> MainWindow::searchWord(QList<QString> lista) { QString char1 = ui->lineEdit_6->text(); for( int n = 0; n < lista.size(); n++) { for (int i = 0; i < lista[i].size(); i++) { if(char1 == lista[n][i]) { qDebug() << lista[n]; //lista.removeAt(n); } } } qDebug() << lista; return lista; } "polać" "polak" "polał" "polan" "polań" "polar" "polia" "polja" "polka" "polna" QList("polać", "polak", "polał", "polan", "polań", "polar", "polce", "polec", "poleć", "polej", "polek", "polem", "poleń", "polep", "poler", "polew", "poleź", "poleż", "polia", "polik", "polio", "polip", "polis", "poliu", "poliż", "polja", "polje", "polji", "polju", "polka", "polką", "polkę", "polki", "polko", "polna", "polną", "polne", "polni", "polny", "polom", "polon", "polor", "polot", "polub", "poluj")
  • A forum for those speaking Portuguese
    422 2k
    422 Topics
    2k Posts
    A
    Pessoal, alguém sabe como eu resolvo a questão para conseguir usar qsqlmysql.dll no cenário do assunto: QT 5.12.12 com MySQL 8 usando caching_sha2_password? Estou usando o MSVC 2017 64bits, já compilei a DLL mas mesmo assim não funciona, recebo o erro Cannot load library qdqlmysql.dll. Não foi possível encontar o módulo especificado! Obrigado
  • A forum for those speaking Romanian
    28 111
    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
    510 2k
    510 Topics
    2k Posts
    B
    @Eloihr Si tienes razón, el echo de que (Qt::MatchContains) se use en otros escenarios como QtableWidget me confundió bastante.
  • Turkiye
    99 295
    99 Topics
    295 Posts
    O
    28 yaşımdayım Türkiye'de yaşıyorum. Yaklaşık 6-7 senedir Qt Framework ile geliştirme yapmaktayım. Bununla beraber Golang, PostgreSQL, Linux, C/C++ ve siber güvenlik tecrübem mevcut. Qt ile tam zamanlı çalışacağım bir iş arıyorum. İngilizcemin çok iyi olduğu söylenemez. Qt/Qml yeteneklerimi görmek isterseniz göndereceğiniz herhangi bir UI/UX çizimini responsive olarak mobil veya masaüstü olarak kodlayıp gösterebilirim. CV veya iletişim için PM gönderebilirsiniz. Teşekkürler