Help Logs Database

Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Ircnet  |  Dalnet
Page: 1 2

<Megzl> whatever I put there gets doubled up
<Megzl> if I change it to -O3, I get -O3 -O3
<marloshome> who's doubling it?
<marloshome> the makefile?
<marloshome> linux isn't duping it
<Megzl> g++ -c -O3 -O3 -frtti -fexceptions -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_GUI_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"C:/Qt/4.0.1/include/QtGui" -I"C:/Qt/4.0.1/include/QtCore" -I"C:/Qt/4.0.1/include" -I"." -I"C:/Qt/4.0.1/include/ActiveQt" -I"release" -I"." -I"C:/Qt/4.0.1/mkspecs/win32-g++" -o release\main.o main.cpp
<Megzl> Yep, the Makefile
<Megzl> Here's the Makefile it generates:
<Megzl> CFLAGS = -O3 -O3 -Wall $(DEFINES)
<Megzl> CXXFLAGS = -O3 -O3 -frtti -fexceptions -Wall $(DEFINES)
<marloshome> DEFINES = -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_SHARED
<marloshome> CFLAGS = -pipe -g -Wall -W -D_REENTRANT $(DEFINES)
<marloshome> CXXFLAGS = -pipe -g -Wall -W -D_REENTRANT $(DEFINES)
<marloshome> that's what i have...
<marloshome> on linux
<Megzl> then you're not even getting any optimization
<Megzl> that should be preeeety slow
<marloshome> yea, i'm not seeing it... though i'm in the middle of recompiling the lib right now... and it has optimization
<Megzl> it's doing O2?
<marloshome> well... i say that... but now it's not doing anything. must have been in a different part of the tree, lemme scroll back
<marloshome> no, whatever i saw is gone, but i saw O2, i'll check the src makes see what they have
<Megzl> Just qmake -project a helloworld.cpp
<Megzl> to generate a new basic qmake pro
<Megzl> i mean
<Megzl> a new basic makefile
<marloshome> DEFINES = -DQT_SHARED -DQT_EDITION=QT_EDITION_DESKTOP -DQT_BUILD_GUI_LIB -DQT_NO_CAST_TO_ASCII -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_RASTER_IMAGEENGINE -DQT_HAVE_FREETYPE -DQT_NO_STYLE_MAC
<marloshome> -DQT_NO_STYLE_WINDOWSXP -DQT_NO_DEBUG -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE
<marloshome> CFLAGS = -pipe -I/usr/include/mysql -O2 -Wall -W -D_REENTRANT -fPIC $(DEFINES)
<marloshome> CXXFLAGS = -pipe -I/usr/include/mysql -O2 -Wall -W -D_REENTRANT -fPIC $(DEFINES)
<Megzl> ahh
<marloshome> that builds my library anew
<Megzl> well, hrmph
<marloshome> and my project has nothing
<marloshome> strange
<marloshome> let me check my linux config files for qt
<marloshome> basically the same flags as windows
<marloshome> hmm
<marloshome> dunno
<marloshome> although, i'm on gentoo, and what i've noticed on qt4 recompile is it's using my gentoo flags, so that's probably how that one got in there
<marloshome> can't explain why qmake isn't giving me any optimization though
<amrit> ..
<Megzl> marloshome: Sorry what do you mean by that, qmake not giving you any optimization?
<marloshome> my make file shows no O anything - you saw that in my paste
<Megzl> it had -O2 !
<Megzl> look again ;)
<marloshome> that was from the qt lib itself
<Megzl> ohh.
<marloshome> like its coming from my gentoo config
<marloshome> which also include -pipe
<marloshome> which is showing up in the qt build
<marloshome> but not in my project build
<marloshome> so when i qmake my project file, i don't get any optimization
<Megzl> Did you check your qmake.conf ?
<marloshome> no, leme check
<marloshome> s/check/czech
<Megzl> Ok, go czech republic it.
<Megzl> Damn, he got taken out by the secret police.
<marloshome> *crashed
<marloshome> what was i doing?
<marloshome> oh, yes, O2 and pipe are in qmake.conf
<marloshome> not showing up in my project's make though - wonder why
<Megzl> Does your project have sub-makefiles?
<Megzl> I dont think it puts those flags in the master directories makefile
<marloshome> no sub make files
<Megzl> well marlos, looks like we're both in the same boat
<Megzl> qmake making like harder.
<Megzl> I'm kinda pissed off about this qmake/MOC thing.
<Megzl> the whole deal
<marloshome> why?
<Megzl> because, it's forcing me to not use my IDE
<Megzl> and go searching for a suitable text editor
<Megzl> and...
<Megzl> setup an msys environment in windows (a shell)
<marloshome> hmm
<marloshome> seems like there should be a way around the problem
<marloshome> without much airtime on qt so far it looks pretty good to me
<marloshome> though i've had my head in the internals so far
<marloshome> so i'm holding my vote
<llama32> is there a way to give one process control over a widget owned by another? the entire X window i guess... how do system tray icons work?
<llama32> a
<llama32> se fe
<llama32> two
<llama32> ll
<llama32> CES
<llama32> oops
<llama32> is there a way to somehow get a list of windows? how does the KDE taskbar get the information? raw Xlib?


Return to qt
or
Go to some related logs:

vim
osdev

Copyright © 2005 www.irclogs.ws. All rights reserved. » disclaimer » contact