Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - china_cup

Pages: [1]
1
Qt/Qtopia / Does QT support Chinese Characters?
« on: July 22, 2004, 10:37:29 pm »
I use a QFileDialog to load a picture,and some of the file names are chinese ,and I want
to display the file name in a textview .

2
Qt/Qtopia / why cannot I drawtext on the widget??
« on: July 22, 2004, 10:02:51 am »
I used the following codes:
QWdiget *widget=new QWidget(this);
QPainter painter(widget);
QRect rect=painter.window();
painter.eraseRect(rect);
QString text="Hello!";
painter.setBackgroundColor(QColor("white"));
painter.setPen(QColor("black"));
painter.drawText(rect,AlignHCenter,text);

but cannot see any word on the widget,I don't know why.

3
Qt/Qtopia / Does QT support Chinese Characters?
« on: July 20, 2004, 05:02:15 am »
I found that Chinese Characters cannot be diaplayed in QTextView correctly.

4
Qt/Qtopia / How to call a executable file in Qt???
« on: July 20, 2004, 04:58:37 am »
I finally found the answer ,I used the class QProcess,than everything is selltled.Though
I still don't know about replys,thank you all the same.

5
Qt/Qtopia / How to call a executable file in Qt???
« on: July 19, 2004, 07:30:49 am »
Excuse me ,I cannot understand what you had just told me ,can you say it more details.I want to call the programme in an Qt slot.

6
Qt/Qtopia / How to call a executable file in Qt???
« on: July 19, 2004, 07:14:08 am »
I want to call an existing executable file in Qt,but don't know how to do it.

7
Qt/Qtopia / does QT have a function that can stretch picture?
« on: July 19, 2004, 06:22:18 am »
Thank you ,I've solve this probelm.

8
Qt/Qtopia / does QT have a function that can stretch picture?
« on: July 18, 2004, 11:27:11 am »
I want to display a picture in a widget ,but it's size is bigger than the widget's.Does QT have such a funciont that can stretch a picture freely or what can I do for displaying the picture?

9
Qt/Qtopia / make errors when trying to install qtopia
« on: July 18, 2004, 11:23:23 am »
Thank you ,I'll try it later!

10
Qt/Qtopia / make errors when trying to install qtopia
« on: July 13, 2004, 07:06:58 am »
and before this problem there is another one that is I cannot install Qt/X11 2.3.2 successfully.I did all of this because I found someone said in an article that qtopia need lots of other supports,
◆ Qtopia 1.6.0;

◆ Tmake 1.11;

◆ Qt/Embedded 2.34

◆ Qt/Embedded 2.3.2 for X11;

◆ Qt 3.1.2 for X11。
the following is the error information:
In file included from kernel/qt_x11.h:76,
                 from kernel/qpsprinter.cpp:97:
/usr/X11R6/include/X11/Xft/Xft.h:35:31: freetype/freetype.h: 没有那个文件或目录
In file included from kernel/qt_x11.h:76,
                 from kernel/qpsprinter.cpp:97:
/usr/X11R6/include/X11/Xft/Xft.h:52: syntax error before `;' token
/usr/X11R6/include/X11/Xft/Xft.h:86: 'FT_UInt' is used as a type, but is not
   defined as a type.
/usr/X11R6/include/X11/Xft/Xft.h:93: 'FT_UInt' is used as a type, but is not
   defined as a type.
/usr/X11R6/include/X11/Xft/Xft.h:190: parse error before `*' token
/usr/X11R6/include/X11/Xft/Xft.h:295: parse error before `*' token
/usr/X11R6/include/X11/Xft/Xft.h:354: parse error before `*' token
/usr/X11R6/include/X11/Xft/Xft.h:393: parse error before `*' token
/usr/X11R6/include/X11/Xft/Xft.h:399: parse error before `*' token
/usr/X11R6/include/X11/Xft/Xft.h:408: type specifier omitted for parameter `
   FT_UInt'
/usr/X11R6/include/X11/Xft/Xft.h:408: parse error before `,' token
/usr/X11R6/include/X11/Xft/Xft.h:418: parse error before `*' token
/usr/X11R6/include/X11/Xft/Xft.h:461: parse error before `*' token
make[2]: *** [kernel/qpsprinter.o] Error 1
make[2]: Leaving directory `/home/cynthia/qtopia/qt-2.3.2/src'
make[1]: *** [sub-src] Error 2
make[1]: Leaving directory `/home/cynthia/qtopia/qt-2.3.2'
make: *** [init] Error 2

Does I still need something else to sollve all these problems???

11
Qt/Qtopia / make errors when trying to install qtopia
« on: July 13, 2004, 06:53:12 am »
[cynthia@cynthia src]$ make
make -C libraries/qtopia
make[1]: Entering directory `/home/cynthia/qtopia/qtopia-free-1.6.0/src/libraries/qtopia'
/home/cynthia/qtopia/qt-2.3.4/bin/uic passwordbase_p.ui -o ./passwordbase_p.h
make[1]: /home/cynthia/qtopia/qt-2.3.4/bin/uic: Command not found
make[1]: *** [passwordbase_p.h] Error 127
make[1]: Leaving directory `/home/cynthia/qtopia/qtopia-free-1.6.0/src/libraries/qtopia'
make: *** [libraries/qtopia] Error 2

I've install qt-2.3.4 successfully,I don't know why this would happen.Pleas help me ,thanks.

12
Qt/Qtopia / make error:Makefile missing separator
« on: July 11, 2004, 02:40:43 am »
I found someone said the follows:
================================================================
"What does 'missing separator' mean?"
================================================================
GNU MAKE produces this error when the first command after your
implicit or explicit rule is delimited with spaces instead of a
tab. (I believe the use of tab as a delimiter is a requirement
of the POSIX spec. Yes, this is stupid.)

You should avoid using DOS EDIT to create or edit makefiles,
as it often expands tabs as spaces.


What can I do to solve this problem,I use tmake and cygwin and the visual c++.

13
Qt/Qtopia / make error:Makefile missing separator
« on: July 11, 2004, 12:04:20 am »
I.ve run
tmake -o example.pro
tmake -o Makefile example.pro
and have created example.pro and the Makefile file
but when I trid to run make
it couldn't work telling me that :
Makefile:60: *** missing separator . stop.
I just don't why this happened,can anybody help me ? Thanks.  

14
Qt/Qtopia / How to create .pro file using configure script?
« on: July 11, 2004, 12:02:45 am »
I.ve run
tmake -o example.pro
tmake -o Makefile example.pro
and have created example.pro and the Makefile file
but when I trid to run make
it couldn't work telling me that :
     Makefile:60: *** missing separator . stop.
I just don't why this happened,can anybody help me ? Thanks.

Pages: [1]