elsamuko / linuxtag_2021

Files for Qt6 workshop

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Einstieg in Qt6/C++

Linuxtag 2021

Qt Creator

  • Compiler, Kits
  • Tools -> Options -> Environment -> Keyboard: clear, cmake, build
  • Shortcuts
  • clang-format

Projekte

  • Neues Projekt anlegen "hello"
  • targets "Current executable"
  • Projektaufbau
    • add_executable()
    • target_sources()
    • target_include_directories()
    • find_package()
    • target_link_libraries()

Qt

  • Logging
    • qInstallMessageHandler
  • QObject mit Signal Slot
  • QWidget mit Signal Slot (QCoreApplication -> QGuiApplication)

GUI Anwendung

  • Neues Projekt mit GUI
  • Designer: Button mit Signal Slot
  • Layout

Resourcen

  • Icons

Deployment

  • windeployqt, macdeployqt
  • linux: ldd, strace, RPATH, LD_LIBRARY_PATH

About

Files for Qt6 workshop


Languages

Language:C++ 79.5%Language:CMake 20.5%