c
cyberdoc7123. April 2018 12:03

How compile QT for static usage?

Hello,


Was wondering if there exists a guide on this site on compiling QT libraries for static environment?

Thank you
Рекомендуємо хостинг TIMEWEB
Рекомендуємо хостинг TIMEWEB
Stabiles Hosting des sozialen Netzwerks EVILEG. Wir empfehlen VDS-Hosting für Django-Projekte.

Magst du es? In sozialen Netzwerken teilen!

5
Evgenii Legotckoi
  • 23. April 2018 16:02

Hello!


Unfortunately I haven`t articles about static build of Qt, because of I haven`t any reasons for this way of creating program package. Program package with shared libraries is more flexible, than static build. And build of very very very big projects is faster than static build.
You can read more in official documentation

Best regards
    c
    • 23. April 2018 16:13
    Hi!

    That is too bad as it is a topic of interest. Last year I was able to compile a couple static libraries of both 5.8 with SSL 32 + 64 bit kits respectively. I had followed various guides on the internet. Not sure I was 100% successful but works most of the time. If the application is small enough its easier to copy on to a usb key if its static. Was curious how you guys would do the same as I am finding your site full of good study material. Much appreciate all the tutorials.

    Thank you.
      Evgenii Legotckoi
      • 24. April 2018 05:19

      I thought about writing tutorial about static build. But... I don`t know. sometimes somebody asks me about this.
      I will think about this one more  Thank you for question.


      P.S. Also, if you have experience and knowledge about programming on Qt/Qml, you could write articles on this site (if you want).
      Thank You.
        c
        • 27. April 2018 17:23
        Hi,

        I found this guide which explains how to compile QT from source to a Static build :

        http://amin-ahmadi.com/2017/11/01/how-to-build-qt-5-9-2-static-using-mingw/
          Evgenii Legotckoi
          • 30. April 2018 03:46

          Hello,


          Thank you for this link. I will research it.

            Kommentare

            Nur autorisierte Benutzer können Kommentare posten.
            Bitte Anmelden oder Registrieren
            Letzte Kommentare
            A
            ALO1ZE19. Oktober 2024 18:19
            Fb3-Dateileser auf Qt Creator Подскажите как это запустить? Я не шарю в программировании и кодинге. Скачал и установаил Qt, но куча ошибок выдается и не запустить. А очень надо fb3 переконвертировать в html
            ИМ
            Игорь Максимов5. Oktober 2024 17:51
            Django – Lektion 064. So schreiben Sie eine Python-Markdown-Erweiterung Приветствую Евгений! У меня вопрос. Можно ли вставлять свои классы в разметку редактора markdown? Допустим имея стандартную разметку: <ul> <li></li> <li></l…
            d
            dblas55. Juli 2024 21:02
            QML - Lektion 016. SQLite-Datenbank und das Arbeiten damit in QML Qt Здравствуйте, возникает такая проблема (я новичок): ApplicationWindow неизвестный элемент. (М300) для TextField и Button аналогично. Могу предположить, что из-за более новой верси…
            k
            kmssr9. Februar 2024 05:43
            Qt Linux - Lektion 001. Autorun Qt-Anwendung unter Linux как сделать автозапуск для флэтпака, который не даёт создавать файлы в ~/.config - вот это вопрос ))
            Qt WinAPI - Lektion 007. Arbeiten mit ICMP-Ping in Qt Без строки #include <QRegularExpressionValidator> в заголовочном файле не работает валидатор.
            Jetzt im Forum diskutieren
            J
            JacobFib17. Oktober 2024 13:27
            добавить qlineseries в функции Пользователь может получить любые разъяснения по интересующим вопросам, касающимся обработки его персональных данных, обратившись к Оператору с помощью электронной почты https://topdecorpro.ru…
            JW
            Jhon Wick2. Oktober 2024 01:52
            Indian Food Restaurant In Columbus OH| Layla’s Kitchen Indian Restaurant If you're looking for a truly authentic https://www.laylaskitchenrestaurantohio.com/ , Layla’s Kitchen Indian Restaurant is your go-to destination. Located at 6152 Cleveland Ave, Colu…
            КГ
            Кирилл Гусарев27. September 2024 19:09
            Не запускается программа на Qt: точка входа в процедуру не найдена в библиотеке DLL Написал программу на C++ Qt в Qt Creator, сбилдил Release с помощью MinGW 64-bit, бинарнику напихал dll-ки с помощью windeployqt.exe. При попытке запуска моей сбилженной программы выдаёт три оши…
            F
            Fynjy22. Juli 2024 14:15
            при создании qml проекта Kits есть но недоступны для выбора Поставил Qt Creator 11.0.2. Qt 6.4.3 При создании проекта Qml не могу выбрать Kits, они все недоступны, хотя настроены и при создании обычного Qt Widget приложения их можно выбрать. В чем может …

            Folgen Sie uns in sozialen Netzwerken