How to force Win10 to use certain interface for “browsing”

Written by  on September 17, 2019

Problem was that before only two ethernet-interfaces were active. One for the company-intranet (which was gateway for internet) and the second one for some device connection.

After adding some 10 GigE-interface, somehow all DNS-requests were first routed via that interface. Which lead to a delay of 3-4 seconds for loading pages.

Can be fixed via setting a lower metrik to the interface, which influences the routing-table: “network- and sharing option > the specific adapter > “IPv4” > “Settings” > “Advanced settings” > bottom “metric” from “automatic metric” to some lower value. Usually it should be 25, I set 13.
You can check via CMD: $ route print for the current value. The used Gateway should have the lowest metric.

EFI partition on usb-stick: Win10 not able to remove it with the diskmanager

Written by  on September 5, 2019

Regular formatting/diskmanager can not handle it.
Additional tools were not available/allowed to install.

So the trick was to use “diskpart” (CMD ..):

  • then “list disk”
  • “select disk1” (or the one medium which contains the partition(s))
  • “clean”
  • confirm the error

Then use a regular tool to create a new partition.

Qt: Error: Not a signal or slot declaration

Written by  on September 4, 2019

This error is too ‘good’ to be just put into “Today I learned”.

While adapting some unit-testing-code for one of the classes, I received from minGW a error stating:

What is the problem? The member-declaration looked totally valid.
Until I realized I had removed the (now commented) “private”-statement and therefore the pointers were seen by the MOC as signals/slots. Which they weren’t!

Shame on me :’)