Boo2Qt QSettings::filename making tricks when debugging 

Self note: application name, organisation name set, however some times the app parses the /root/.config/<org>/<appname>.conf and sometimes it parses the /.config/<org>/<appname>.conf
[ hozzászólás ] ( 2 megtekintés ) [ 0 trackbackek ] permalink ( 3 / 264 )
rfkill - the beginning of a beautiful friendship 

1. If you want to block/unblock a single interface you have to specify it with a number:


rfkill unblock 1


And here comes a systemd unit which enables an USB Wifi dongle only:


/etc/systemd/system/rfkill-unblock-wifi.service
[Unit]
Description=RFKill-Unblock WiFi Devices
After=sys-subsystem-net-devices-wlan1.device
BindsTo=sys-subsystem-net-devices-wlan1.device


[Service]
Type=oneshot
ExecStart=/usr/sbin/rfkill unblock 1
ExecStop=
RemainAfterExit=no

[Install]
WantedBy=multi-user.target

[ hozzászólás ] ( 4 megtekintés ) [ 0 trackbackek ] permalink ( 3 / 278 )
[Qt5]In the case if accented characters are not displayed from the tr() calls 

I ran into an issue which was familiar from many years ago from the Qt 4.x times with a recent setup: Qt 5.14 + MSVC2015.

Solution:

Add the following to the pro file_


win32-msvc* {
QMAKE_CXXFLAGS += /utf-8
}



And recompile everything.
[ hozzászólás ] ( 1 megtekintés ) [ 0 trackbackek ] permalink ( 3 / 235 )
STM32CubeIDE - (Read)Failed determine breakpoint type 

Make sure that the startup assembly file (MCU_name.s usually) is added to the project.
[ hozzászólás ] ( 12 megtekintés ) [ 0 trackbackek ] permalink ( 3 / 158 )
STM32 DMA notes 

- When using burst mode you have to point to the DMAR register not the first register to target
- Timer update and CC DMA requests require different channels
[ hozzászólás ] ( 4 megtekintés ) [ 0 trackbackek ] permalink ( 3 / 170 )

<< <Előző | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | Következő> >>

 
számláló