Maybe it's a windows/vs problem. You might try your app on Linux or do somethiing simple like the following to see if it works:
I created a new GUI project with Qt Creator. Used your code in the MainWindow constructor to start a process (a php script that waits for input on stdin) and make connections, put a push button in the form, and created two slots:
Bookmarks