From b86b03a66e0726137b2f4c2d3ab817878f7cabd1 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Wed, 1 Jul 2009 10:06:56 +0000 Subject: [PATCH] 2009-07-01 12:01 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * doc/linux1st.txt + Added QT package name. * contrib/hbqt/hbqt.h - Deleted some unncessary #includes. * contrib/hbqt/hbqt_slots.cpp ! Fixed QDebug() call warning on Linux. --- harbour/ChangeLog | 10 ++++++++++ harbour/contrib/hbqt/hbqt_slots.cpp | 3 +-- harbour/doc/linux1st.txt | 25 ++++++++++++++----------- 3 files changed, 25 insertions(+), 13 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 6ecb584936..37252d64fb 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,16 @@ past entries belonging to author(s): Viktor Szakats. */ +2009-07-01 12:01 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) + * doc/linux1st.txt + + Added QT package name. + + * contrib/hbqt/hbqt.h + - Deleted some unncessary #includes. + + * contrib/hbqt/hbqt_slots.cpp + ! Fixed QDebug() call warning on Linux. + 2009-07-01 01:17 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbqt/generator/qt45.qtp diff --git a/harbour/contrib/hbqt/hbqt_slots.cpp b/harbour/contrib/hbqt/hbqt_slots.cpp index d2d975ee66..d24825da69 100644 --- a/harbour/contrib/hbqt/hbqt_slots.cpp +++ b/harbour/contrib/hbqt/hbqt_slots.cpp @@ -1400,10 +1400,9 @@ HB_FUNC( QT_DISCONNECT_EVENT ) HB_FUNC( QT_QDEBUG ) { - qDebug( hb_parcx( 1 ) ); + qDebug( "%s", hb_parcx( 1 ) ); } /*----------------------------------------------------------------------*/ #endif - diff --git a/harbour/doc/linux1st.txt b/harbour/doc/linux1st.txt index 797c416b4e..d0ea04e88e 100644 --- a/harbour/doc/linux1st.txt +++ b/harbour/doc/linux1st.txt @@ -9,7 +9,7 @@ Ubuntu/Debian distro -------------------- Packages needed to cleanly build Harbour: -(Tested with Ubuntu 7.04 and 8.04) +(Tested with Ubuntu 7.04, 8.04, 9.04) For GTCRS terminal lib: sudo apt-get install libncurses-dev @@ -50,22 +50,25 @@ sudo apt-get install libmysqlclient15-dev For contrib/hbpgsql lib: sudo apt-get install libpq-dev -For contrib/hbgf/hbgfgtk lib: +For contrib/hbqt lib: +sudo apt-get install libqt4-dev + +For examples/hbgf/hbgfgtk lib: sudo apt-get install libgtk2.0-dev sudo apt-get install libglib2.0-dev For contrib/rddads lib: -Download and install 'Advantage Client Engine API for Linux' package +Download and install 'Advantage Client Engine API for Linux' package (f.e. aceapi-9.00.0.0.tar.gz) For contrib/hbhpdf lib: -Download and './configure', 'make install' libharu +Download and './configure', 'make install' libharu from http://libharu.org/ openSUSE distro --------------- -You'll need these packages to compile certain contribs and optional +You'll need these packages to compile certain contribs and optional Harbour modules: - xorg-x11-devel - postgresql-devel @@ -77,11 +80,11 @@ Harbour modules: - libmysqlclient-devel For contrib/rddads lib: -Download and install 'Advantage Client Engine API for Linux' package +Download and install 'Advantage Client Engine API for Linux' package (f.e. aceapi-9.00.0.0.tar.gz) For contrib/libharu: -- Download and './configure', 'make install' libharu +- Download and './configure', 'make install' libharu from http://libharu.org/ - libpng-devel - zlib-devel @@ -92,7 +95,7 @@ Notes by Scott Johnson Ok, I finally got something to run. The code I compiled was standard Clipper 5.2 code pulled directly from a dos/win box and was working -properly there. +properly there. I'm compiling under Debian Sarge which for their own reasons are using the Alpha Build 44.0. It was installed with the standard apt-get @@ -144,9 +147,9 @@ right after -lrdd, but I don't know if that's important or not. Maybe somebody can correct me there. After I saved it, I went back and issued the same bld.sh command as I -did above, and lo! It just worked. +did above, and lo! It just worked. -./inv +./inv As a side note, gtstd is probably not going to be very helpful for you in linux if you have any SAY/GET's as screen positioning (especially if @@ -159,4 +162,4 @@ things that make people cringe. It's a start though and maybe some folks can clean it up a bit and add/remove things that are important. At least this worked on my particular Debian system. Your mileage may vary and other distributions will probably have their own setups and -issues. +issues.