Program Startup takes a long time.
-
I'm following the tutorial ( http://qt-project.org/doc/qt-4.8/gettingstartedqt.html ) but it takes 40 seconds for the program to appear when I hit run. Why is it taking so long?
(btw...are the tutorials ever going to be updated? There are still mistakes in it and also small changes, for example main using char *argv[] instead of char **args)
Does this have anything to do with the build using MSVC compiler? If so, what happened to the gnu one? I see no option for it.
-
How are you trying to start the application? If you start from withing Qt Creator, do those 40s include the building of the application? What OS/hardware are you running on?
What is wrong wrt. argv and args?
-
It was the actual startup of the application that was taking so long. Building was quick. I uninstalled Qt and reinstalled, without messing with the options for installation and now the program shows up quickly.
I wonder if messing with installation options the last time I installed caused something to go missing and that might have been what was slowing it down.