@amina said in could not add wiringPi to Qt after cross compiling:

I just need to synchronize the /usr/include and /usr/lib or all the sysroot?

It depends on the changes you do, and if you know exactly what folders were modified.
Some people perform the sync for the whole sysroot just in case.