@MrBrightSide8 said in bool QCanBusDevice::connectDevice and QCanBus's createDevice always return true?:
Yes, I can see it in vcanconf.exe in channel 1 and 2 of the CAN device.
So you mean, channel 1 and 2 are the real hardware channels, right? Do you see virtual channels there also? (You could also post a screenshot of vcanconf.exe).
If the channels 1 and 2 are the hardware CAN channels, you should be able to connect to "can0" or "can1". Unfortunately I don't have Vector CAN hardware at hand so I could always test using the virtual channels only.
Is there anyway to determine the actual hardware connection in code?
There is currently none, except using availableDevices() first.