If qt is not found cmake will error out, since QT_VERSION_MINOR is not defined. Move if(QT4_FOUND) before we use anything qt specific.
If qt is not found cmake will error out, since QT_VERSION_MINOR is not defined. Move if(QT4_FOUND) before we use anything qt specific.

svn path=/trunk/; revision=9733

FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot