[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#336827: marked as done (qt3-examples: build-examples script fails on missing .qmake-cache)



Your message dated Fri, 12 May 2006 09:03:06 -0400
with message-id <200605120903.07107.chrsmrtn@debian.org>
and subject line qt3-examples: build-examples script fails on missing .qmake-cache
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: qt3-examples
Version: 3:3.3.4-3
Severity: normal
Tags: patch

Basicaly add -cachec option to $QMAKE & use it..
Most probably that will save lot of people lot of searches on google:)

*** ../build-examples	2005-04-15 16:20:21.000000000 +0200
--- build-examples	2005-11-01 15:43:52.212765400 +0100
*************** export QTDIR=/usr/share/qt3
*** 6,35 ****
  # first copy over the libqt-mt.so build configuration of .qmake.cache
  cp /usr/share/qt3/.qmake.cache ./.qmake.cache
  
  # Now compile the examples. The themes example
  # won't work since qconfig.h is not really correct with the
  # ifdef's for the QT_NO_xyz_STYLE, so we use make -k to continue
! cd examples; qmake -o Makefile examples.pro; make -k
  
  # Now compile the tutorial.
! cd $BUILDDIR/tutorial; qmake -o Makefile tutorial.pro; make
  
  # Then the designer examples. 
  cd $BUILDDIR/tools/designer/examples
  for a in `find . -type d -maxdepth 1 -mindepth 1`; do
!         cd $a && qmake -o Makefile $a.pro; make; cd ..;
  done
  
  # There is a bigger sql example in book/ with more subdirectories:
  cd book
  for a in `find . -type d -maxdepth 1 -mindepth 1`; do
!         cd $a && qmake -o Makefile $a.pro; make; cd ..;
  done
  
  # Finally, build the linguist tutorials:
  cd $BUILDDIR/tools/linguist/tutorial
  for a in `find . -type d -maxdepth 1 -mindepth 1`; do 
! 	cd $a && qmake -o Makefile $a.pro; make; cd ..; 
  done
  
  # Return to the build directory
--- 6,37 ----
  # first copy over the libqt-mt.so build configuration of .qmake.cache
  cp /usr/share/qt3/.qmake.cache ./.qmake.cache
  
+ QMAKE="qmake -cache `pwd`/.qmake.cache"
+ 
  # Now compile the examples. The themes example
  # won't work since qconfig.h is not really correct with the
  # ifdef's for the QT_NO_xyz_STYLE, so we use make -k to continue
! cd examples; $QMAKE -o Makefile examples.pro; make -k
  
  # Now compile the tutorial.
! cd $BUILDDIR/tutorial; $QMAKE -o Makefile tutorial.pro; make
  
  # Then the designer examples. 
  cd $BUILDDIR/tools/designer/examples
  for a in `find . -type d -maxdepth 1 -mindepth 1`; do
!         cd $a && $QMAKE -o Makefile $a.pro; make; cd ..;
  done
  
  # There is a bigger sql example in book/ with more subdirectories:
  cd book
  for a in `find . -type d -maxdepth 1 -mindepth 1`; do
!         cd $a && $QMAKE -o Makefile $a.pro; make; cd ..;
  done
  
  # Finally, build the linguist tutorials:
  cd $BUILDDIR/tools/linguist/tutorial
  for a in `find . -type d -maxdepth 1 -mindepth 1`; do 
! 	cd $a && $QMAKE -o Makefile $a.pro; make; cd ..; 
  done
  
  # Return to the build directory

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.12
Locale: LANG=cs_CZ, LC_CTYPE=cs_CZ (charmap=ISO-8859-2)

Versions of packages qt3-examples depends on:
ii  libqt3-mt-dev                 3:3.3.4-3  Qt development files (Threaded)

-- no debconf information
*** ../build-examples	2005-04-15 16:20:21.000000000 +0200
--- build-examples	2005-11-01 15:43:52.212765400 +0100
*************** export QTDIR=/usr/share/qt3
*** 6,35 ****
  # first copy over the libqt-mt.so build configuration of .qmake.cache
  cp /usr/share/qt3/.qmake.cache ./.qmake.cache
  
  # Now compile the examples. The themes example
  # won't work since qconfig.h is not really correct with the
  # ifdef's for the QT_NO_xyz_STYLE, so we use make -k to continue
! cd examples; qmake -o Makefile examples.pro; make -k
  
  # Now compile the tutorial.
! cd $BUILDDIR/tutorial; qmake -o Makefile tutorial.pro; make
  
  # Then the designer examples. 
  cd $BUILDDIR/tools/designer/examples
  for a in `find . -type d -maxdepth 1 -mindepth 1`; do
!         cd $a && qmake -o Makefile $a.pro; make; cd ..;
  done
  
  # There is a bigger sql example in book/ with more subdirectories:
  cd book
  for a in `find . -type d -maxdepth 1 -mindepth 1`; do
!         cd $a && qmake -o Makefile $a.pro; make; cd ..;
  done
  
  # Finally, build the linguist tutorials:
  cd $BUILDDIR/tools/linguist/tutorial
  for a in `find . -type d -maxdepth 1 -mindepth 1`; do 
! 	cd $a && qmake -o Makefile $a.pro; make; cd ..; 
  done
  
  # Return to the build directory
--- 6,37 ----
  # first copy over the libqt-mt.so build configuration of .qmake.cache
  cp /usr/share/qt3/.qmake.cache ./.qmake.cache
  
+ QMAKE="qmake -cache `pwd`/.qmake.cache"
+ 
  # Now compile the examples. The themes example
  # won't work since qconfig.h is not really correct with the
  # ifdef's for the QT_NO_xyz_STYLE, so we use make -k to continue
! cd examples; $QMAKE -o Makefile examples.pro; make -k
  
  # Now compile the tutorial.
! cd $BUILDDIR/tutorial; $QMAKE -o Makefile tutorial.pro; make
  
  # Then the designer examples. 
  cd $BUILDDIR/tools/designer/examples
  for a in `find . -type d -maxdepth 1 -mindepth 1`; do
!         cd $a && $QMAKE -o Makefile $a.pro; make; cd ..;
  done
  
  # There is a bigger sql example in book/ with more subdirectories:
  cd book
  for a in `find . -type d -maxdepth 1 -mindepth 1`; do
!         cd $a && $QMAKE -o Makefile $a.pro; make; cd ..;
  done
  
  # Finally, build the linguist tutorials:
  cd $BUILDDIR/tools/linguist/tutorial
  for a in `find . -type d -maxdepth 1 -mindepth 1`; do 
! 	cd $a && $QMAKE -o Makefile $a.pro; make; cd ..; 
  done
  
  # Return to the build directory

--- End Message ---
--- Begin Message ---
I'm closing this bug, because the reporter hasn't provided documentation 
to more clearly the nature of the problem his patch resolves.

Feel free to follow-up if you feel that this is unwarranted.

--- End Message ---

Reply to: