The problem was this: if I need to declare in the second way but doing so, don't appear the window bar (window title). How can do?
Qt Code:
  1. ExternWidget exw (0,""); // this don't get parent w to ExternWidget
  2. ExternWidget exw (&w,"");
To copy to clipboard, switch view to plain text mode