The following line:
Qt Code:
  1. dynamicCall(testMSg("TPWPalette pallet)",param1); //Error raizes here
To copy to clipboard, switch view to plain text mode 
is completely wrong.

The first parameter is a function name.
You positioned the "" wrong (at least)
Even if the "" are right, there's no function name there.

The second parameter is a QVariant list, not just a QVariant.