Changeset 66821 in vbox
- Timestamp:
- May 8, 2017 4:31:32 PM (8 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure
r65884 r66821 159 159 QT5DIR="/usr/lib/qt5 /usr/share/qt5 /usr/lib64/qt5 /usr /usr/local" 160 160 QT5DIR_PKGCONFIG=1 161 QT5MAJ=5 162 QT5MIN=3 161 163 KBUILDDIR="`cd \`dirname $0\`; pwd`/kBuild" 162 164 DEVDIR="`cd \`dirname $0\`; pwd`/tools" … … 1648 1650 extern "C" int main(void) 1649 1651 { 1650 #if QT_VERSION >= 0x050302 1652 EOF 1653 echo "#if QT_VERSION >= $(($QT5MAJ*65536+$QT5MIN*256))" >> $ODIR.tmp_src.cc 1654 cat >> $ODIR.tmp_src.cc << EOF 1651 1655 return 0; 1652 1656 #else … … 1740 1744 { 1741 1745 printf("found version %s", QT_VERSION_STR); 1742 #if QT_VERSION >= 0x050302 1746 EOF 1747 echo "#if QT_VERSION >= $(($QT5MAJ*65536+$QT5MIN*256))" >> $ODIR.tmp_src.cc 1748 cat >> $ODIR.tmp_src.cc << EOF 1743 1749 printf(", OK.\n"); 1744 1750 return 0; 1745 1751 #else 1746 printf(", expected version 5.3.2 or higher\n"); 1752 EOF 1753 echo " printf(\", expected version $QT5MAJ.$QT5MIN or higher\\\\n\");" >> $ODIR.tmp_src.cc 1754 cat >> $ODIR.tmp_src.cc << EOF 1747 1755 return 1; 1748 1756 #endif … … 2623 2631 [ $WITH_QT5 -eq 1 ] && QT5DIR_PKGCONFIG=0 2624 2632 ;; 2633 --with-qt5-minor=*) 2634 QT5MIN=`echo $option | cut -d'=' -f2` 2635 ;; 2636 --with-qt5-major=*) 2637 QT5MAJ=`echo $option | cut -d'=' -f2` 2638 ;; 2625 2639 --with-openssl-dir=*) 2626 2640 OPENSSLDIR=`echo $option | cut -d'=' -f2` -
trunk/src/VBox/Installer/linux/debian/rules
r64072 r66821 95 95 endif 96 96 97 # Depend on Qt 5.6 or later otherwise we use Qt 5.3.2 from Debian 8. 97 98 cfg_flags := $(if $(NOQT),--disable-qt,) \ 99 $(if $(NOQT),,--with-qt5-major=5 --with-qt-minor=6) \ 98 100 $(if $(ose),--ose,) $(if $(LINUX),--with-linux=$(LINUX),) \ 99 101 $(if $(HEADLESS),--build-headless,) \
Note:
See TracChangeset
for help on using the changeset viewer.