Well, the event loop was a solution to some problem I was having quite some time ago. I can't remember what it was, but the general gist of it was that it was skipping the first event or something and responding only in the second event. I posted this problem in Stack Overflow, I think, (Before you deride me for this, I didn't know SFML forums existed then) and this solution was suggested to me. After I tried it, it worked so I continued using it.
Irrespective of that, however, I am still not getting my window either way (I changed the event loop). I don't know why.
It compiles and executes fine displaying only the console window. Here's the compile output,
01:15:57: Running steps for project untitled...
01:15:57: Configuration unchanged, skipping qmake step.
01:15:57: Starting: "C:\Qt\Tools\QtCreator\bin\jom.exe"
C:\Qt\Tools\QtCreator\bin\jom.exe -f Makefile.Debug
01:15:57: The process "C:\Qt\Tools\QtCreator\bin\jom.exe" exited normally.
01:15:57: Elapsed time: 00:00.
And the application output,
Starting C:\Users\WDR\Documents\Qt\untitled\debug\untitled.exe...
C:\Users\WDR\Documents\Qt\untitled\debug\untitled.exe exited with code -1073741515