﻿id,summary,reporter,owner,description,type,status,component,version,resolution,keywords,cc,guest,host
14713,Compilation failure due to incorrect moc path -> should be fixed in releases after 5.0.8,Jan Palus,,"It seems that recent changes to configure script broke proper moc path detection. In my case QT4 is detected by pkg-config which in VirtualBox results in setting foundqt4=3. Later in the script this case is handled in a specific way:
{{{
          elif [ ""$foundqt4"" = ""3"" ]; then 
            cnf_append ""VBOX_PATH_QT4"" ""$TOOLQT4""
            cnf_append ""PATH_SDK_QT4"" ""$TOOLQT4""
            cnf_append ""PATH_TOOL_QT4_BIN"" ""$TOOLQT4BIN""
            return
          fi   
}}}
The issue is with lack of configured TOOL_QT4_BIN_SUFF which in my case is -qt4. kBuild skips any detection though if PATH_TOOL_QT4_BIN is defined. So for following configuration:
{{{
VBOX_PATH_QT4                  := /usr/lib64/qt4
PATH_SDK_QT4                   := /usr/lib64/qt4
PATH_TOOL_QT4_BIN              := /usr/bin
}}}
I end up with moc path: /usr/bin/moc instead of /usr/bin/moc-qt4.",defect,closed,other,VirtualBox 5.0.6,fixed,,,other,Linux
