[EDIT]: I found a better workaround for my own C++ code. Add one line to the main() function, like this (or use the second line with the desired style name):
int main(int argc, char *argv[]) { qputenv("QT_STYLE_OVERRIDE",""); // qputenv("QT_STYLE_OVERRIDE","Fusion"); ....[OLD ANSWER]:
Error message: QApplication: invalid style override passed, ignoring it. To remove this error message: In Qt Creator (ver 4.4.1) Select "Projects" (wrench icon on left edge) Under "Build & Run" (left pane) Select "Run" Under "Run Settings" (right pane) Under "Run Environment" Select "Details" (drop down list) Scroll down to "QT_STYLE_OVERRIDE" Click it to highlight it Then click "Unset" button (right side) Click "Details" to close the list Now when you run the application you shouldn't see this error message.