Текущая версия |
Ваш текст |
Строка 1: |
Строка 1: |
− | == Руководства ==
| |
− | * [https://wiki.qt.io/Developer_Guides Developer Guides]
| |
− | * [http://doc.qt.io/qt-5/qmlapplications.html QML Applications]
| |
− | * [http://doc.qt.io/qt-5/qml-glossary.html Glossary Of QML Terms]
| |
− | * [http://doc.qt.io/qt-5/best-practices.html Best Practice Guides]
| |
− | * [https://doc.qt.io/qt-5/qtqml-cppintegration-topic.html Integrating QML and C++]
| |
− | * [https://doc.qt.io/qt-5/qtqml-cppintegration-overview.html#choosing-the-correct-integration-method-between-c-and-qml Overview - QML and C++ Integration]
| |
− |
| |
− | == Рекомендации по оформлению исходного кода ==
| |
− | * [http://doc.qt.io/qtcreator/creator-beautifier.html Beautifying Source Code]
| |
− | * [http://doc.qt.io/qtcreator/creator-code-style-settings.html Specifying Code Style Settings]
| |
− | * [http://doc.qt.io/qt-5/qml-codingconventions.html QML Coding Conventions]
| |
− | * [https://wiki.qt.io/Coding_Conventions Coding Conventions]
| |
− | * [https://wiki.qt.io/Qt_Coding_Style Qt Coding Style]
| |
− | * [https://wiki.qt.io/Qt_In_Namespace Qt In Namespace]
| |
− | * [https://wiki.qt.io/Qt_Quick_Best_Practices Qt Quick Best Practices]
| |
− | * [https://doc.qt.io/qt-5/qtquick-bestpractices.html Best Practices for QML and Qt Quick]
| |
− | * [https://wiki.qt.io/Qt_Writing_Guidelines Qt Writing Guidelines]
| |
− | * [http://doc.qt.io/qt-5/qtwritingstyle-cpp.html C++ Documentation Style]
| |
− |
| |
| == Проблемы сборки == | | == Проблемы сборки == |
− | === error: g++: Command not found === | + | === В Linux <tt>GL/gl.h: No such file or directory</tt> === |
− | # apt-get install build-essential
| + | sudo apt-get install mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev |
− | === error: GL/gl.h: No such file or directory ===
| + | |
− | # apt-get install mesa-common-dev | + | |
− | === error: cannot find -lGL ===
| + | |
− | # apt-get install libglu1-mesa-dev
| + | |
| | | |
| == Распространение программы == | | == Распространение программы == |
Строка 31: |
Строка 7: |
| Выполнить перед запуском утилиты: | | Выполнить перед запуском утилиты: |
| set PATH={путь к Qt SDK}\{версия}\mingw48_32\bin\;%PATH% | | set PATH={путь к Qt SDK}\{версия}\mingw48_32\bin\;%PATH% |
− |
| |
− | == Android ==
| |
− | === Как сменить тему на тёмную (Holo)? ===
| |
− | <ol>
| |
− | <li>При открытом проекте перейти '''Проекты → Сборка и запуск → Сборка → Собрать Android APK → Подробнее'''.</li>
| |
− | <li>Нажать на кнопку '''Создать шаблоны'''.</li>
| |
− | <li>
| |
− | Указать путь для записи шаблонов и нажать '''Завершить'''.
| |
− | Файлы шаблонов будут добавлены в проект (категория '''Другие файлы''').
| |
− | </li>
| |
− | <li>Открыть файл '''AndroidManifest.xml''' в виде исходного текста.</li>
| |
− | <li>Добавить аргумент <tt>android:theme="@android:style/Theme.Holo"</tt> в тэг <tt>application</tt>.</li>
| |
− | </ol>
| |
| | | |
| [[Категория:База знаний]] | | [[Категория:База знаний]] |
− | [[Категория:Разработка]][[Категория:Qt]]
| |