Skip to content

International

Language specific discussions from Albanian to Turkiye

4.2k Topics 17.5k 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
    688 Topics
    2k Posts
    S

    whghcyx@outlook.com

  • 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

    146 Topics
    766 Posts
    R

    Bonjour,
    S'il vous plait, j'aimerais avoir solution à un problème que même mes recherches n'arrivent pas à résoudre. Je code en python et j'ai démarré avec QtQuick-Qml pour développer des applications graphiques modernes avec python - PySide6, mais je suis confronté à un problème. Lorsque je compile mon projet avec Nuitka pour obtenir un exécutable unique avec la commande :
    python -m nuitka --onefile --windows-console-mode=disable --enable-plugin=pyside6 --include-qt-plugins=qml --include-data-files=gui.qml=gui.qml main.py
    L'exécutable créé offre environ 100Mo pourtant le code est très léger et je remarque aussi l'inclusion des module QtWebEngine,QtWebEngineCore,...
    Voici le code contenu dans mon fichier main.py :

    import sys from PySide6.QtQml import QQmlApplicationEngine from PySide6.QtGui import QGuiApplication if __name__ == "__main__": app = QGuiApplication(sys.argv) engine = QQmlApplicationEngine() engine.load("gui.qml") sys.exit(app.exec())

    et voici le code contenu dans mon fichier gui.qml pour l'interface graphique :

    import QtQuick import QtQuick.Controls Window { width: 640 height: 480 visible: true title: "A simple button in the window" Button { text: "Push me" anchors.centerIn: parent width: 200 } }

    J'ai essayé plein de solutions comme l'utilisation des options : --noinclude-qt-plugins=qtwebengine,qtwebenginecore,qtwebenginewidgets,qtwebenginequick et aussi --nofollow-import-to=PySide6.QtWebEngine,PySide6.QtWebEngineCore,PySide6.QtWebEngineWidgets,PySide6.QtWebEngineQuick --include-data-files=gui.qml=gui.qml main.py mais rien de marche.

    Merci d'avance pour vos futures réponses !!!

  • A forum for those speaking German
    718 Topics
    4k Posts
    JonBJ

    @StefKe said in Timezone ändern:

    UTC = UTC.setTimeZone('Australia/Melbourne')

    setTimeZone(toZone[, resolve=QDateTime.TransitionResolution.LegacyBehavior])

    Sets the time zone used in this datetime to toZone.

    setTimeZone() gibt keinen Wert zurück. Also UTC = ist falsch.

    Und string 'Australia/Melbourne' funktioniert nicht, dass muss byte array sein. Probieren Sie es aus:

    UTC.setTimeZone(b'Australia/Melbourne')`

    [Jetzt haben Sie die Antwort von @Pl45m4 . Vieleicht hat er recht.]

  • 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
    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
    200 Topics
    1k Posts
    M

    So If I simplify the issue even more, when I close the window by using self.close or self.reject in the buttons. self.button.clicked.connect(self.close) like this. Or If I directly close the window, it is printing 'found files' from collect_files function.
    I also tried defining closeEvent function to close the window but before closing every time it's printing the found files first.
    Any suggestion which could explain what is causing this behavior will help me investigate effectively. Thanks

  • A forum for those speaking Italian
    459 Topics
    2k Posts
    piervalliP

    Nelle note di rilascio della versione sono contenute le informazioni sulle liberie usate
    https://wiki.qt.io/Qt_6.6_Tools_and_Versions#windows_10_22H2_x86_64

    Android NDK r25b r25b
    Android OpenSSL 3.0.7 3.0.7
    Android SDK Api Level android-33 android-33
    Android SDK Build Tools 33.0.1 33.0.1

    Con la versione 33 dovresti compilarla senza problemi.

  • A forum for those speaking Japanese
    95 Topics
    302 Posts
    C

    Qt for Python の Your First QtQuick/QML Application https://doc.qt.io/qtforpython-6/tutorials/basictutorial/qml.html
    に載っている qmldir に、

    Main 254.0 Main.qml

    という行がありますが、254.0 はバージョン番号にしては不自然な値に思えます。

    この値にはどのような意味があるのでしょうか?

    また、このチュートリアルでの Main モジュールにバージョンを付与するにはどのようにするのでしょうか?

  • A forum for those speaking Korean

    49 Topics
    79 Posts
    K

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

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

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

  • A forum for those speaking Persian
    365 Topics
    2k Posts
    ImElijahI

    سلام دوست عزیز الا میخوام بدونم چکار میکنی کار کردن با Qt ارزششو داشت؟

  • A forum for those speaking Polish
    294 Topics
    1k Posts
    N

    witam, prubuje uruchomic program na innym pc program urychania sie u mnie , najpierw brakował☺o biblotek ale znalazłem na dyskuC w katalogu QT///bin , jak skopuje tam wygenerowany plik exe to on sie uruchamia ale jak skopiuje do innego katalogu z biblotekami to juz sie nie uruchomi tylko wyskakuje komunikat
    ''this aplikation failedto start because no qt platform plugincould be initialized. reinstalling the aplication may fix fhis problem"

  • A forum for those speaking Portuguese
    420 Topics
    2k Posts
    C

    Prepare your query before you try to bind values to the placeholders in the query.
    Prepare sua consulta antes de tentar vincular valores aos espaços reservados na consulta. (Google translated)
    Example here

  • 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
    N

    Veo que este post es muy antiguo, aún así voy a responder por si a algún otro usuario le sucede lo mismo no tenga que pasar todo el trabajo que pase yo buscando la solución.

    Qt utiliza la versión 1.1.1 de openssl (no es compatible con las versiones mas recientes) ademas debes copiar la dll en un lugar especifico, no basta con tener openssl instalado en la pc.
    1- Descarga la versión correcta de aquí:
    https://download.firedaemon.com/FireDaemon-OpenSSL/openssl-1.1.1w.zip
    2- Descomprime y busca las bibliotecas libcrypto-1_1.dll y libssl-1_1.dll (nota que están las dos arquitecturas x86 y x64)
    3- Copia esas bibliotecas hacia la carpeta donde están las bibliotecas propias de qt para el compilador que deseas usar. Si dejaste la ubicación que qt usa por defecto debe ser algo asi:
    C:\Qt\Qt5.12.12\5.12.12\mingw73_32\bin (en el ejemplo use mingw de 32 bits)

    Esta solución a mi me funcionó en qt 5.12. Para probar si funcionó pueden usar este programa de ejemplo:
    https://github.com/jbagg/QSslSocket-example

    En el caso de windows se copian las dlls exactamente con el nombre que vienen en el comprimido (incluyendo el -x64 en las de 64 bits); para linux es el mismo procedimiento solo que hay que cambiarles el nombre y dejarlas como libcrypto.so y libssl.so. Esto es para que se ejecute desde el QtCreator, deben incluirlas también junto a su .exe cuando distribuyan el programa. Suerte a todos con sus proyectos!

  • Turkiye
    97 Topics
    291 Posts
    E

    Merhabalar bu konuda nereye geldiniz. Aynı konuda ben bir yerlere geldim ama tam istediğim gibi olmadı bunu konuşmak isterim