This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
programming:qt [2021/06/11 02:46] nanodano created |
programming:qt [2021/06/11 05:52] (current) nanodano |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Qt ====== | ====== Qt ====== | ||
- | Get Qt from [[]] | + | Get Qt from [[https:// |
+ | For Qt in Python, see [[https:// | ||
+ | ===== Installation ===== | ||
+ | |||
+ | |||
+ | In Debian, install Qt5 libraries, QtCreator IDE and UI Designer with '' | ||
+ | |||
+ | ===== qDebug verbosity levels ===== | ||
+ | |||
+ | Qt has multiple levels of verbosity for logging. If you are able to print '' | ||
+ | |||
+ | <code c++ qdebug_example.cpp> | ||
+ | #include < | ||
+ | |||
+ | // ... | ||
+ | |||
+ | qInfo() << "Is this working?"; | ||
+ | qDebug() << "but not this?"; | ||
+ | </ | ||
+ | |||
+ | You can set the Qt logging levels in '' | ||
+ | |||
+ | <code text qtlogging.ini> | ||
+ | # ~/ | ||
+ | [Rules] | ||
+ | *.debug=true | ||
+ | qt.*.debug=false | ||
+ | </ | ||
===== Using WinPcap with Qt ===== | ===== Using WinPcap with Qt ===== | ||
Line 11: | Line 38: | ||
// to the project file in Windows | // to the project file in Windows | ||
// | // | ||
- | //# Pcap specific build stuff for Windows | + | //# Pcap specific build stuff for Windows |
// | // | ||
//LIBS += C:/ | //LIBS += C:/ |