Code: Select all
qmake -project
qmake
make
Code: Select all
LDPATH=/usr/lib/qt4
Code: Select all
g++ -o mainwindows main.o mainwindow.o main.o mainwindow.o mdichild.o main.o mainwindow.o main.o mainwindow.o main.o mainwindow.o moc_mainwindow.o moc_mdichild.o qrc_application.o qrc_mdi.o qrc_sdi.o -L/usr/lib/qt4 -L/usr/lib/mysql -L/usr/lib/qt4 -lQtGui_debug -L/usr/X11R6/lib -lpng -lSM -lICE -lXi -lXrender -lXrandr -lXcursor -lfreetype -lfontconfig -lXext -lX11 -lm -lQtCore_debug -lz -ldl -lpthread
main.o(.text+0x0): In function `main':
sdi/main.cpp:34: multiple definition of `main'
main.o(.text+0x0):sdi/main.cpp:34: first defined here
mainwindow.o(.text+0x0): In function `MainWindow::MainWindow[not-in-charge]()':
sdi/mainwindow.cpp:34: multiple definition of `MainWindow::MainWindow[not-in-charge]()'
mainwindow.o(.text+0x0):sdi/mainwindow.cpp:34: first defined here
Code: Select all
g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4 -I. -I. -I. -o launcher.o launcher.cpp
launcher.cpp:30:24: QDomDocument: No such file or directory
launcher.cpp:31:40: QtAssistant/QAssistantClient: No such file or directory
Code: Select all
=x11-libs/qt-4.0.0_beta2-r3 debug examples odbc sqlite accessibility
Code: Select all
bash-2.05b# equery uses =x11-libs/qt-4.0.0_beta2-r3
[ Searching for packages matching =x11-libs/qt-4.0.0_beta2-r3... ]
[ Colour Code : set unset ]
[ Legend : Left column (U) - USE flags from make.conf ]
[ : Right column (I) - USE flags packages was installed with ]
[ Found these USE variables for x11-libs/qt-4.0.0_beta2-r3 ]
U I
+ + accessibility : Adds support for accessibility (eg 'at-spi' library)
+ + cups : Add support for CUPS (Common Unix Printing System)
+ + debug : Tells configure and the makefiles to build for debugging. Effects vary across packages, but generally it will at least add -g to CFLAGS. Remember to set FEATURES=nostrip too
+ + doc : Adds extra documentation (API, Javadoc, etc)
+ + examples : Install example source code
- - firebird : Adds support for the Firebird relational database
+ + gif : Adds GIF image support
- - ipv6 : Adds support for IP version 6
+ + jpeg : Adds JPEG image support
+ + mng : Adds support for libmng (MNG images)
+ + mysql : Adds mySQL support
- - nas : Adds support for network audio sound
- - nis : Support for NIS/YP services
+ + odbc : Adds ODBC Support (Open DataBase Connectivity)
+ + opengl : Adds support for OpenGL
+ + postgres : Adds support for the postgresql database
+ + png : Adds support for libpng (PNG images)
+ + sqlite : <unknown>
- - xinerama : Add support for the xinerama X11 extension, which allows you to stretch your display across multiple monitors
+ + zlib : Adds support for zlib (de)compression
+ + debug : Tells configure and the makefiles to build for debugging. Effects vary across packages, but generally it will at least add -g to CFLAGS. Remember to set FEATURES=nostrip too
KDE svn?caleb wrote:At the moment, I don't know of any installable applications that make use of
this new Qt version
http://www.bluescarni.infoAlbert Einstein wrote:I consider it [...] urgently necessary for [...] workers to get together, both to protect their own economic status and [...] to secure their influence in the political field.
Qt 4 uses slots.menetto wrote:Is it possible to have qt 3 and qt 4 installed next to each other?
I want to develop apps with qt 4 and obviously I need qt 4 to run them. But since no apps support them up to now, I will need qt 3 for those apps. Am I not going to hose my system by trying this?
Some KDE developers have already begun with the porting to Qt4.dani wrote:I think the next version of KDE will be 3.5 and after that they will begin working to port KDE to Qt4. So it will take a long time.
The current "acceleration" architecture of X sucks. But as you can read in recent news reports developers at Troll Tech are already working on a replacement.dani wrote:qtdemo seems to make X creating a high CPU load, especially the nice animated navigation menu. Is that a problem of Qt, Qt for Linux, Qt for Gentoo or of the qtdemo?