Re: [Interest] qmake command usage

2015-05-18 Thread Alex Strickland
On 2015/05/19 01:34 AM, Dale Marchand wrote: Can someone explain why the following line in a .pro file fails to create a softlink: system(ln -s /home/marchand/test.xml /home/marchand/test2.xml) but when the output is stored in a variable, the link is created as expected:

[Interest] qmake command usage

2015-05-18 Thread Dale Marchand
Can someone explain why the following line in a .pro file fails to create a softlink: system(ln -s /home/marchand/test.xml /home/marchand/test2.xml) but when the output is stored in a variable, the link is created as expected: THROW_AWAY_VAR=$$system(ln -s /home/marchand/test.xml

[Interest] qmake-qt5 and lex/yacc parsing

2015-05-15 Thread René J . V . Bertin
Hello, I'm porting an application (xxdiff) to Qt5 that has a lex/yacc based parser on board. The .pro file contains the following section: # # Parser/grammar generation. # QMAKE_LEX = flex QMAKE_YACC = bison QMAKE_YACCFLAGS = -d -o y.tab.c QMAKE_YACC_HEADER = y.tab.h QMAKE_YACC_SOURCE = y.tab.c

Re: [Interest] qmake and CONFIG += c++14

2015-03-27 Thread Tim O'Neil
That is the very deffinition of 'difficult', no? The solution i found may be a work around for the c++ version issues. On Mar 25, 2015 7:45 PM, Thiago Macieira thiago.macie...@intel.com wrote: On Wednesday 25 March 2015 18:08:12 Tim O'Neil wrote: Qmake with clang is possble, but its not easy;

Re: [Interest] qmake and CONFIG += c++14

2015-03-27 Thread Thiago Macieira
On Friday 27 March 2015 15:18:27 Tim O'Neil wrote: That is the very deffinition of 'difficult', no? The solution i found may be a work around for the c++ version issues. Clang with Linux isn't difficult. I use it every week and it's no different from ICC on Linux or GCC on Linux. Both are

Re: [Interest] qmake and CONFIG += c++14

2015-03-25 Thread Wilhelm
Am 25.03.2015 um 06:28 schrieb Thiago Macieira: On Wednesday 25 March 2015 06:19:24 Wilhelm wrote: Hi all, the qmake documentation says that is is possible to set CONFIG+= c++14 But if I do so, the generated makefile still contains the flag -std=c++11 So, whats wrong here? Your

Re: [Interest] qmake and CONFIG += c++14

2015-03-25 Thread Alejandro Exojo
El Wednesday 25 March 2015, Wilhelm escribió: Hi all, the qmake documentation says that is is possible to set CONFIG+= c++14 But if I do so, the generated makefile still contains the flag -std=c++11 So, whats wrong here? 1. Have you re-rerun qmake? 2. Does your compiler support

Re: [Interest] qmake and CONFIG += c++14

2015-03-25 Thread Wilhelm
Am 25.03.2015 um 07:52 schrieb Thiago Macieira: On Wednesday 25 March 2015 07:24:10 Wilhelm wrote: Your compiler is too old or the version was not detected. Don't think so... What's in mkspecs/qconfig.pri? I have here: QT_GCC_MAJOR_VERSION = 4 QT_GCC_MINOR_VERSION = 9

Re: [Interest] qmake and CONFIG += c++14

2015-03-25 Thread Wilhelm
Am 25.03.2015 um 12:03 schrieb Allan Sandfeld Jensen: On Wednesday 25 March 2015, Wilhelm wrote: Hi all, the qmake documentation says that is is possible to set CONFIG+= c++14 But if I do so, the generated makefile still contains the flag -std=c++11 So, whats wrong here? You can

Re: [Interest] qmake and CONFIG += c++14

2015-03-25 Thread Thiago Macieira
On Wednesday 25 March 2015 14:46:52 Wilhelm wrote: As you can see running qmake with linux-clang doesn't work: ⌁68% [lmeier:/home/lmeier/Lehre/Eigene/Prog2NeuesKonzept/SS2015/vl01] $ qmake -spec linux-clang That will not work because you configured with GCC. qmake only knows the GCC

Re: [Interest] qmake and CONFIG += c++14

2015-03-25 Thread Thiago Macieira
On Thursday 26 March 2015 06:07:24 Wilhelm wrote: That looks strange to me: if I define several kits (with different compilers like g++ and clang++ or ms vs) in qtcreator I would expect that the CONFIG+=c++14 variable would be translated to the correct compiler flag. That's not how it works.

Re: [Interest] qmake and CONFIG += c++14

2015-03-25 Thread Thiago Macieira
On Thursday 26 March 2015 06:49:50 Wilhelm wrote: Am 26.03.2015 um 06:15 schrieb Thiago Macieira: On Thursday 26 March 2015 06:07:24 Wilhelm wrote: That looks strange to me: if I define several kits (with different compilers like g++ and clang++ or ms vs) in qtcreator I would expect that

Re: [Interest] qmake and CONFIG += c++14

2015-03-25 Thread Allan Sandfeld Jensen
On Wednesday 25 March 2015, Wilhelm wrote: Hi all, the qmake documentation says that is is possible to set CONFIG+= c++14 But if I do so, the generated makefile still contains the flag -std=c++11 So, whats wrong here? You can check mkspecs/features/c++14.prf for the conditions

Re: [Interest] qmake and CONFIG += c++14

2015-03-25 Thread Thiago Macieira
On Wednesday 25 March 2015 18:08:12 Tim O'Neil wrote: Qmake with clang is possble, but its not easy; ths is a possble solution: https://forum.qt.io/topic/19067/solved-using-qtcreator-qmake-with-clang-libc It's not difficult at all. But in order to enable C++14, you need to have compiled Qt

[Interest] qmake and CONFIG += c++14

2015-03-24 Thread Wilhelm
Hi all, the qmake documentation says that is is possible to set CONFIG+= c++14 But if I do so, the generated makefile still contains the flag -std=c++11 So, whats wrong here? -- Wilhelm w.me...@unix.net ___ Interest mailing list

Re: [Interest] qmake: mkspec linux-g++ not found

2015-03-23 Thread Jason H
Sent: Saturday, March 21, 2015 at 2:23 PM From: Thiago Macieira thiago.macie...@intel.com To: interest@qt-project.org Subject: Re: [Interest] qmake: mkspec linux-g++ not found On Friday 20 March 2015 20:44:07 Jason H wrote: I built Qt from sources, did a make install, then blew away

Re: [Interest] qmake: mkspec linux-g++ not found

2015-03-23 Thread Thiago Macieira
On Monday 23 March 2015 21:47:57 Jason H wrote: Ok, so I got this figured out. Someone tell me if it is a bug or not. I did not specify --prefix, however it built and installed as --prefix=/usr/local/Qt-5.4.1 qmake however did not pick up the prefix that had been auto selected. After running

Re: [Interest] qmake: mkspec linux-g++ not found

2015-03-23 Thread Jason H
Sent: Monday, March 23, 2015 at 11:08 AM From: Jason H jh...@gmx.com To: Thiago Macieira thiago.macie...@intel.com Cc: interest@qt-project.org Subject: Re: [Interest] qmake: mkspec linux-g++ not found Sent: Saturday, March 21, 2015 at 2:23 PM From: Thiago Macieira thiago.macie

Re: [Interest] qmake: mkspec linux-g++ not found

2015-03-23 Thread Thiago Macieira
On Monday 23 March 2015 16:08:50 Jason H wrote: You need to use the installed qmake (in /usr/local/Qt-5.4.1/bin), not the one in the build dir. I was. [ec2-user@PRODUCTION-WWW pdfReport]$ qmake Could not find qmake configuration file linux-g++. Error processing project file:

[Interest] qmake ignores CMAKE_CC and CMAKE_CXX while building Qt 5.3.2???

2015-03-22 Thread René J . V . Bertin
Hi, How come that the bootstrap qmake ignores the mkspec's CMAKE_CC and CMAKE_CXX? I see `/usr/bin/clang++` and `/Developer/usr/bin/clang` (for C and ObjC++) when configure runs the config.test tests, and this causes problems because I need to use the clang compiler specified in my mkspec.

Re: [Interest] qmake: mkspec linux-g++ not found

2015-03-21 Thread Nikos Chantziaras
On 20/03/15 21:44, Jason H wrote: I built Qt from sources, did a make install, then blew away the source directory. I went into my project dir, did qmake and got that error. I looked in /usr/local/Qt-5.4.1/mkspecs and there were the proper files there. Then I un-blew away the source dir

Re: [Interest] qmake: mkspec linux-g++ not found

2015-03-21 Thread Thiago Macieira
On Friday 20 March 2015 20:44:07 Jason H wrote: I built Qt from sources, did a make install, then blew away the source directory. I went into my project dir, did qmake and got that error. I looked in /usr/local/Qt-5.4.1/mkspecs and there were the proper files there. Then I un-blew away the

[Interest] qmake: mkspec linux-g++ not found

2015-03-20 Thread Jason H
I built Qt from sources, did a make install, then blew away the source directory. I went into my project dir, did qmake and got that error. I looked in /usr/local/Qt-5.4.1/mkspecs and there were the proper files there. Then I un-blew away the source dir (cautious me, I did a move) and it all

[Interest] Qmake - Target platform vs Build platform

2014-12-01 Thread Phil Hannent
Hi, I have a little problem. I am cross compiling an application targeting Android (in addition to Windows/Mac and Linux). However the development of Android happens on both OSX and Windows. Currently I have the following: android { message(Android) DEFINES +=

[Interest] qmake ios build

2014-11-20 Thread Kate Alhola
We and may be many others would like to build iOS apps by CI systems like Jenkins. We have been using Jenkins a long time but after code 6.1 there appeared an issue. Signing app now requires Payload/*.app/ResourceRules. plist that must be defined in appname.xcodeproj file:

Re: [Interest] qmake ios build

2014-11-20 Thread Yang Fan
For setting launch images or app icons, this snippet just works for me: ios { AppIcons.files=$$system(find $$PWD/appicon/ios/ -name '*.png') AppIcons.path=./ LaunchImages.files=$$system(find $$PWD/launchimage/ios/ -name '*.png') LaunchImages.path=./ QMAKE_BUNDLE_DATA +=

[Interest] qmake command line assignments are not considered by config.tests

2014-09-03 Thread Roland Winklmeier
Dear list, I'm using qmake project files for a library project. On Linux with a standard pathes for installed headers and libraries, there was rarely the need to add a non-standard path. If that happened, a command line assignment did the job: qmake INCLUDEPATH+=C:/path/to/headers file.pro I

[Interest] QMake variable TARGET_EXT ignored on unix platforms

2014-06-18 Thread Roland Winklmeier
Hey there, I have a project which builds a plugin for a cross platform application. This application expects its plugins to have the extension *.xpl. After reading the docs and setting the qmake variables to TARGET = plugin TARGET_EXT=xpl I expected to get a shared library called plugin.xpl. On

Re: [Interest] QMake variable TARGET_EXT ignored on unix platforms

2014-06-18 Thread Bo Thorsen
Den 18-06-2014 13:23, Roland Winklmeier skrev: Hey there, I have a project which builds a plugin for a cross platform application. This application expects its plugins to have the extension *.xpl. After reading the docs and setting the qmake variables to TARGET = plugin TARGET_EXT=xpl I

Re: [Interest] QMake variable TARGET_EXT ignored on unix platforms

2014-06-18 Thread Roland Winklmeier
unix:QMAKE_POST_LINK += cp $$DESTDIR/$$TARGET.so $$DESTDIR/$$TARGET.xpl Written from memory, you probably need to fix it a bit. I hope this helps, Thanks Bo. You pointed me into the right direction. CONFIG += plugin unix:QMAKE_POST_LINK += mv $$DESTDIR/lib$${TARGET}.so

Re: [Interest] QMake variable TARGET_EXT ignored on unix platforms

2014-06-18 Thread Bo Thorsen
Den 18-06-2014 16:04, Roland Winklmeier skrev: unix:QMAKE_POST_LINK += cp $$DESTDIR/$$TARGET.so $$DESTDIR/$$TARGET.xpl Written from memory, you probably need to fix it a bit. I hope this helps, Thanks Bo. You pointed me into the right direction. You're very welcome :)

Re: [Interest] qmake option to find qt library location

2014-05-05 Thread Sandeep
As Thiago already pointed out - just run: Thanks, noted. But I have some weird issue with interest mailing list. I usually post to both development and interest in case I am confused which mailing group does my question fall under, so what happens all the time is the question posted on

Re: [Interest] qmake option to find qt library location

2014-05-05 Thread Thiago Macieira
Em qui 10 abr 2014, às 14:53:44, Sandeep escreveu: Thanks, noted. But I have some weird issue with interest mailing list. I usually post to both development and interest in case I am confused which mailing group does my question fall under Please stop doing that. If you have a question about

[Interest] qmake option to find qt library location

2014-04-10 Thread Sandeep
Hello, I have an application which links to Qt shared libraries. I build the application with Qt creator, so I manually configure the qmake to be chosen by the qtcreator. So all the qt libraries are automatically linked in accordance to the qmake path. Now after the application is built, I

Re: [Interest] qmake option to find qt library location

2014-04-10 Thread Tomasz Olszak
qmake -v gives the below output: QMake version 3.0 Using Qt version 5.0.2 in /usr/lib/x86_64-linux-gnu But is there a qmake option or any other mechanism which can directly give the value /usr/lib/x86_64-linux-gnu, otherwise I need to run qmake -v and parse for the path. As Thiago

Re: [Interest] qmake PWD variable?

2014-04-02 Thread Joerg Bornemann
On 02-Apr-14 09:55, tangk wrote: win32:{ LIBS += $$PWD/living1.lib system(copy $$PWD/living1.dll $$[QT_INSTALL_BINS]) } The error is that you pass paths with forward slashes to the copy command. Use the shell_path function to convert the slashes. BR, Joerg

[Interest] qmake scope issue

2014-03-08 Thread Muhammad Bashir Al-Noimi
Hi, I want to run some commands in release build so I used the mentioned tip in FAQ section https://qt-project.org/faq/answer/how_to_deal_correctly_with_project_files_that_should_generate_a_debug_and_r but unfortunately system function called in both DEBUG and RELEASE mode How can I fix this

[Interest] QMake incremental build issues

2014-02-24 Thread Etienne Sandré-Chardonnal
Dear all, I sometimes experience problems with qmake (used in QtCreator). This happens not often, but my program crashes after a partial build, and if I rebuild all, it works perfectly. This means some file dependencies are not handled well. Maybe my .pro has some errors that cause this? For

Re: [Interest] QMake incremental build issues

2014-02-24 Thread Thiago Macieira
Em seg 24 fev 2014, às 17:41:44, Etienne Sandré-Chardonnal escreveu: This means some file dependencies are not handled well. Maybe my .pro has some errors that cause this? Yes, it's possible. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source

Re: [Interest] QMake incremental build issues

2014-02-24 Thread Joerg Bornemann
On 24-Feb-14 17:41, Etienne Sandré-Chardonnal wrote: I sometimes experience problems with qmake (used in QtCreator). This happens not often, but my program crashes after a partial build, and if I rebuild all, it works perfectly. This means some file dependencies are not handled well. Maybe

Re: [Interest] QMake incremental build issues

2014-02-24 Thread Till Oliver Knoll
Am 24.02.2014 um 17:49 schrieb Thiago Macieira thiago.macie...@intel.com: Em seg 24 fev 2014, às 17:41:44, Etienne Sandré-Chardonnal escreveu: This means some file dependencies are not handled well. Maybe my .pro has some errors that cause this? Yes, it's possible. Factoring away the Usual

Re: [Interest] qmake project file questions

2014-02-14 Thread Koehne Kai
-Original Message- From: interest-bounces+kai.koehne=digia@qt-project.org files =\ foo.cpp \ foo.h \ bar.cpp \ bar.h for(file, files) { contains(file, '.*.h') { message(header = $$file) HEADERS *= $$file } contains(file, '.*.cpp') {

[Interest] qmake project file questions

2014-02-13 Thread Thomas Sevaldrud
Hi, I have a question about scope tests in .pro files. The following .pro file behaves a bit differently than I expected: files =\ foo.cpp \ foo.h \ bar.cpp \ bar.h for(file, files) { contains(file, '.*.h') { message(header = $$file) HEADERS *= $$file }

Re: [Interest] qmake project file questions

2014-02-13 Thread Thiago Macieira
Em qui 13 fev 2014, às 23:10:22, Thomas Sevaldrud escreveu: However, the problem is that all the files are added to both HEADERS and SOURCES. It appears that the HEADERS and SOURCES assignments simply ignore the contains()-check, even though they are placed inside the scopes of these checks?

Re: [Interest] QMake generation config file from variables in .pro file

2014-01-29 Thread Guido Seifert
Wow, have to try this immediately. If this works it would be much better than what I concocted. :-) Guido Hi, actually this is possible with qmake. If you have a file named config.h.in you can use normal qmake variables in it e.g. #define Version $$VERSION. Then put the following in

Re: [Interest] QMake generation config file from variables in .pro file

2014-01-29 Thread Constantin Makshin
I wonder why such useful feature is left undocumented... On 01/30/2014 01:27 AM, Guido Seifert wrote: Wow, have to try this immediately. If this works it would be much better than what I concocted. :-) Guido Hi, actually this is possible with qmake. If you have a file named config.h.in

Re: [Interest] QMake generation config file from variables in .pro file

2014-01-29 Thread Stephen Kelly
Constantin Makshin wrote: I wonder why such useful feature is left undocumented... I don't know, but as with anything undocumented, handle with care. http://thread.gmane.org/gmane.comp.lib.qt.user/10485/focus=10540 Thanks, Steve. ___ Interest

Re: [Interest] QMake generation config file from variables in .pro file

2014-01-20 Thread Bo Thorsen
Den 16-01-2014 14:42, Guido Seifert skrev: Hi, when I use cmake I can create a file config.h.in, which contains things like: #define Version @VERSION@ in the CMakeLists.txt I can define a variable: SET(VERSION something) and add: configure_file ( config.h.in ) This creates a

Re: [Interest] QMake generation config file from variables in .pro file

2014-01-20 Thread Guido Seifert
Hi, Bo. Someday for sure. But I needed a solution fast. And a quick Python hack was much faster than me delving into something totally unknown. Totally unknown for me at least. Guido As someone already told you, no this can't be done. But instead of doing a python script or some other home

Re: [Interest] QMake generation config file from variables in .pro file

2014-01-20 Thread Stephen Kelly
Bo Thorsen wrote: Den 16-01-2014 14:42, Guido Seifert skrev: Hi, when I use cmake I can create a file config.h.in, which contains things like: #define Version @VERSION@ in the CMakeLists.txt I can define a variable: SET(VERSION something) and add: configure_file ( config.h.in ) This

[Interest] QMake generation config file from variables in .pro file

2014-01-16 Thread Guido Seifert
Hi, when I use cmake I can create a file config.h.in, which contains things like: #define Version @VERSION@ in the CMakeLists.txt I can define a variable: SET(VERSION something) and add: configure_file ( config.h.in ) This creates a config.h with #define Version something. Question is, can

Re: [Interest] QMake generation config file from variables in .pro file

2014-01-16 Thread Thiago Macieira
On quinta-feira, 16 de janeiro de 2014 14:42:14, Guido Seifert wrote: Question is, can I do the same with qmake? How? system(sed ) There's a write_file function which you can use if you want to write the full file from the .pro file. -- Thiago Macieira - thiago.macieira (AT) intel.com

Re: [Interest] QMake generation config file from variables in .pro file

2014-01-16 Thread Guido Seifert
In other words: Not 'natively' with qmake. Ok, a Python script it will be. I am a bit more comfortable with Python than with sed. :-) Thanks, Guido Question is, can I do the same with qmake? How? system(sed ) There's a write_file function which you can use if you want to write the

Re: [Interest] qmake /cmake find question

2013-11-20 Thread Bo Thorsen
There's nothing in qmake that does something like find_package - or any other configuration. You have to add to the LIBS, INCLUDE_PATH and DEPEND_PATH yourself. If you want configuration, try qbs. Bo. en 19-11-2013 20:14, Damian Ivanov skrev: Hi all, I have a library (libqt-xdg) in

Re: [Interest] qmake /cmake find question

2013-11-20 Thread Damian Ivanov
Thanks for your answer. Adding External Library through qtcreator fixed my problem :) 2013/11/20 Bo Thorsen bthor...@ics.com: There's nothing in qmake that does something like find_package - or any other configuration. You have to add to the LIBS, INCLUDE_PATH and DEPEND_PATH yourself. If

Re: [Interest] QMake: customize MSVC linker options

2013-11-03 Thread André Hartmann
Partly answering my own question. Following lines in the pro file did the trick: CONFIG -= embed_manifest_exe QMAKE_LFLAGS_EXE = Hi all, I'm using the MS Visual C++ 10 Compiler under Windows 7 64 bit. I'd like to build simple C console applications with qmake istead of writing own

Re: [Interest] qmake exclude modules

2013-09-19 Thread Phil Hannent
Good morning, On 18 September 2013 15:48, Thiago Macieira thiago.macie...@intel.com wrote: On quarta-feira, 18 de setembro de 2013 13:46:28, Phil Hannent wrote: Ok, so I went digging into qt_lib_webkit.pri file and found: QT.webkit.depends = core gui network This one declares what your -I

[Interest] qmake exclude modules

2013-09-18 Thread Phil Hannent
Hi, I am trying to remove some Qt modules that I don't need at the moment, however qmake isn't outputting a Makefile with the expected syntax. In my .pro file I have: QT += core gui webkit greaterThan(QT_MAJOR_VERSION, 4) { message(Using QT5) QT += widgets QT += webkitwidgets QT

Re: [Interest] qmake exclude modules

2013-09-18 Thread Mandeep Sandhu
Will webkit work w/o network? I think it depends on the network module. Same might be true for other modules, but I'm not sure. HTH, -mandeep On Wed, Sep 18, 2013 at 3:19 PM, Phil Hannent p...@hannent.co.uk wrote: Hi, I am trying to remove some Qt modules that I don't need at the moment,

Re: [Interest] qmake exclude modules

2013-09-18 Thread Phil Hannent
On 18 September 2013 11:28, Mandeep Sandhu mandeepsandhu@gmail.com wrote: Will webkit work w/o network? I think it depends on the network module. Same might be true for other modules, but I'm not sure. HTH, -mandeep On Wed, Sep 18, 2013 at 3:19 PM, Phil Hannent p...@hannent.co.uk

[Interest] qmake on Windows producing odd library names

2013-07-15 Thread Phil Hannent
Hi, I've recently downloaded Qt 5.1.0 and am attempting to build a project of mine on a Windows 7 PC using QtCreator. The problem is that I cannot compile the application because it cannot find the library's to link against:

[Interest] qmake and rpath

2013-04-26 Thread Wilhelm
Hi all, I have a problem with qmake setting rpath: the sources are in ~/Software/qtwm/branches/macros/apps/apps5/app ~/Software/qtwm/branches/macros/apps/apps5/aedit ~/Software/qtwm/branches/macros/apps/apps5/lib then the debug-build gives me the executable / lib in

Re: [Interest] qmake and rpath

2013-04-26 Thread Nikos Chantziaras
On 26/04/13 16:23, Wilhelm wrote: Hi all, I have a problem with qmake setting rpath: [...] QMAKE_RPATHDIR += ../lib by this gives me -Wl,-rpath,/home/lmeier/Software/qtwm/branches/macros/apps/apps5/lib in the Makefile, and that's not correct. How do I set the rpath to point to the

Re: [Interest] qmake and rpath

2013-04-26 Thread Wilhelm
Am 26.04.2013 17:14, schrieb Nikos Chantziaras: QMAKE_LFLAGS += '-Wl,-rpath,\'\$$ORIGIN/../lib\'' Many thanks!!! -- Wilhelm ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] qmake: questions regarding huge projects

2013-04-23 Thread Rainer Wiesenfarth
Thanks a lot for all your hints and links! I get the feeling that I can easily spend a week learning the secrets of qmake. :-) My first impression is that qmake probably will suit fine, without introducing the complexity of cmake. But it definitely will be the second build system (for

Re: [Interest] qmake: questions regarding huge projects

2013-04-23 Thread Guido Seifert
Nothing against qmake, but IHMO it definitely pays off to learn cmake. Especially the cpack addition makes it worthwhile. Easy packaging for Windows using the NSIS installer, easy deb and rpm packages for Linux, and packages for OSX. This feature alone makes cmake far superior to qmake. Guido

Re: [Interest] qmake: questions regarding huge projects

2013-04-23 Thread Semih Cemiloglu
Hi Rainer, I suggest you to review QmkBld project: https://code.google.com/p/qmkbld/ https://code.google.com/p/qmkbld/wiki/QmkBld It might fulfill some of requirements. Kind regards, Semih Cemiloglu semih (at) cemiloglu.org On Fri, Apr 19, 2013 at 4:48 PM, Rainer Wiesenfarth

Re: [Interest] qmake: questions regarding huge projects

2013-04-22 Thread Konrad Rosenbaum
On Friday 19 April 2013 13:36:36 Bo Thorsen wrote: Den 19-04-2013 12:29, Rainer Wiesenfarth skrev: well, I know about cmake, but was going for something less cryptic... :-) We have some fancy build stuff (f2c, versioning, ...), but I was hoping to get it done with qmake, _because_ it is

[Interest] qmake: questions regarding huge projects

2013-04-19 Thread Rainer Wiesenfarth
I would like to ask for some expert tutorial or some hints for using qmake with huge projects. What is huge? Our complete package consists of 50 applications build based on 100 libraries (organized in modules and units). On Windows, we use a Visual Studio solution file containing 250

Re: [Interest] qmake: questions regarding huge projects

2013-04-19 Thread Mandeep Sandhu
On Fri, Apr 19, 2013 at 12:18 PM, Rainer Wiesenfarth rainer_wiesenfa...@trimble.com wrote: I would like to ask for some expert tutorial or some hints for using qmake with huge projects. What is huge? Our complete package consists of 50 applications build based on 100 libraries (organized in

Re: [Interest] qmake: questions regarding huge projects

2013-04-19 Thread Andreas Pakulat
Hi, On Fri, Apr 19, 2013 at 10:35 AM, Mandeep Sandhu mandeepsandhu@gmail.com wrote: On Fri, Apr 19, 2013 at 12:18 PM, Rainer Wiesenfarth rainer_wiesenfa...@trimble.com wrote: I would like to ask for some expert tutorial or some hints for using qmake with huge projects. What is

Re: [Interest] qmake: questions regarding huge projects

2013-04-19 Thread Rainer Wiesenfarth
Am 19.04.2013 10:35, schrieb Mandeep Sandhu: [...] The single application's pro file should have all the libs it depends on, listed in the depends variable. Thanks for your answer, I will take a look at depends - I did not yet read in depth about its meaning and impact. Best Regards / Mit

Re: [Interest] qmake: questions regarding huge projects

2013-04-19 Thread Rainer Wiesenfarth
Am 19.04.2013 11:25, schrieb Bo Thorsen: Sounds to me like you want to switch to cmake instead. That has a lot better support for dependencies between subprojects than qmake. And for a project of this size, I would expect you have some fancy build stuff in there as well, and qmake is usually too

Re: [Interest] qmake: questions regarding huge projects

2013-04-19 Thread Mandeep Sandhu
qmake takes care of this (I think), i.e it'll find out the number of cores and supply the relevant number to make's -j option. No, qmake does not take care of this as qmake is not a buildsystem itself (rather a buildsystem generator, it generates Makefiles, VS files etc.). But of course a

Re: [Interest] qmake: questions regarding huge projects

2013-04-19 Thread Bo Thorsen
Den 19-04-2013 12:29, Rainer Wiesenfarth skrev: Am 19.04.2013 11:25, schrieb Bo Thorsen: Sounds to me like you want to switch to cmake instead. That has a lot better support for dependencies between subprojects than qmake. And for a project of this size, I would expect you have some fancy

Re: [Interest] qmake: questions regarding huge projects

2013-04-19 Thread Bo Thorsen
Den 19-04-2013 13:36, Jan Kundrát skrev: On Friday, 19 April 2013 12:29:04 CEST, Rainer Wiesenfarth wrote: well, I know about cmake, but was going for something less cryptic... :-) One of my biggest disappointments with qmake was that it just did not set up proper dependencies between the

Re: [Interest] qmake: questions regarding huge projects

2013-04-19 Thread Rainer Wiesenfarth
Am 19.04.2013 13:36, schrieb Bo Thorsen: On the bright side: Once you have a good cmake build in place, you will have the visual studio build done with the same system as Linux. Having two different build systems is *not* a good idea. I know, but we will definitely have two build systems -

Re: [Interest] qmake: questions regarding huge projects

2013-04-19 Thread Christian Dähn
Hi Rainer, as other members already stated out qmake has some limits - but: These can be hacked ;-) We (our company) spent much time to discover different build systems and approaches - where CMake was the most complicated and most work intensive solution. So we decided to use the long term and

Re: [Interest] qmake: questions regarding huge projects

2013-04-19 Thread BRM
: interest@qt-project.org Sent: Friday, April 19, 2013 8:33 AM Subject: Re: [Interest] qmake: questions regarding huge projects Am 19.04.2013 13:36, schrieb Bo Thorsen: On the bright side: Once you have a good cmake build in place, you will have the visual studio build done with the same system

Re: [Interest] qmake -query

2013-03-15 Thread tang ke
Now, I do it. I can edit the qt.conf file located in qmake.exe directory with [Paths] Prefix=c:/qt-sdk/ On 03/15/2013 10:34 AM, tang ke wrote: Thanks very much. but I found the system registry, I find that the HKEY_CURRENT_USER\Software\Trolltech\OrganizationDefaults andr QMake. when I

[Interest] qmake -query

2013-03-14 Thread tang ke
hi everybody! Now I download the qt-opensource-mingw32-4.8.2.zip from the web. and install it. but after I use the qmake -unset QT_VERSION commands, then I use qmake -query, It can display the QT_VERSION . who can tell me where the qmake -set prop value is stored with windows? thanks in

Re: [Interest] qmake -query

2013-03-14 Thread Thiago Macieira
On sexta-feira, 15 de março de 2013 10.06.46, tang ke wrote: hi everybody! Now I download the qt-opensource-mingw32-4.8.2.zip from the web. and install it. but after I use the qmake -unset QT_VERSION commands, then I use qmake -query, It can display the QT_VERSION . who can tell me where

[Interest] qmake adding unwanted lib flag to makefile

2012-11-28 Thread Alexander Görtz
Hi, I have the following problem. I have a lib let's call it libA in /usr/lib64 and /usr/local/lib the only difference is the Version of libA (the one in /usr/local/lib is newer). If I now create a simple qmake project it generates a Makefile with the line: LIBS = $(SUBLIBS)

Re: [Interest] qmake adding unwanted lib flag to makefile

2012-11-28 Thread Alexander Görtz
Hi, I for now solved he problem with a quiet dirty workaround. I added the line QMAKE_LIBDIR_FLAGS = -L/usr/local/lib to my pro file, which in turn results in the Makefiles line: LIBS = $(SUBLIBS) -L/usr/local/lib -L/usr/lib64 -L/usr/local/lib - lQtGui -lQtCore -lpthread which is not

Re: [Interest] qmake adding unwanted lib flag to makefile

2012-11-28 Thread Thiago Macieira
On quarta-feira, 28 de novembro de 2012 14.57.22, Alexander Görtz wrote: I for now solved he problem with a quiet dirty workaround. I added the line QMAKE_LIBDIR_FLAGS = -L/usr/local/lib to my pro file, which in turn results in the Makefiles line: LIBS = $(SUBLIBS) -L/usr/local/lib

Re: [Interest] qmake adding unwanted lib flag to makefile

2012-11-28 Thread Lincoln Ramsay
On 28/11/12 23:33, Alexander Görtz wrote: My question is if there is any possibility to tell qmake not to add the - L/usr/lib to the makefile or if this is not possible to add -L/usr/local/lib even before that. You could do LIBS += /usr/local/lib/libmylib.so instead of -lmylib to explicitly

[Interest] QMake and Visual Studios...

2012-09-28 Thread BRM
I'm updating compilers on my virtual machines and just installed VS2012, namely to test to see what needs to be done to support it for my main projects - all Qt based. I have a number of compilers around - from VS6 to VS2010, and want to see if VS2012 is useful enough to add support for. Any

[Interest] Qmake and changes in the library

2012-08-31 Thread Igor Mironchik
Hi, Is it possible to say in QMake projects that when changes appears in the library then all targets, depended on that library, must rebuilded? Because at this time I see that when I change something in the library then recompilation occur only on that library, and all targets that links to

Re: [Interest] Qmake and changes in the library

2012-08-31 Thread Igor Mironchik
Hi, Have a look at: http://qt-project.org/doc/qt-4.8/qmake-variable-reference.html#pre-targetdeps Hope it helps Thanks. It helps. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

[Interest] qmake: Building a shared object which is not a lib

2012-06-27 Thread Christian Gagneraud
Hi there, I would like to build a shared object (PySide module) using qmake. My first attempt was to use TEMPLATE=lib, which worked except that I have no control on the name of the output file. Is there a way to override the name of the generated shared object file? Basically using

Re: [Interest] qmake: Building a shared object which is not a lib

2012-06-27 Thread Andreas Pakulat
Hi, Am Mittwoch, 27. Juni 2012 schrieb Christian Gagneraud : On 27/06/12 12:32, Mandeep Sandhu wrote: On Wed, Jun 27, 2012 at 4:29 PM, Christian Gagneraud ch...@techworks.iejavascript:; wrote: Hi there, [...] If you build a plugin, then the version links are not created, and

Re: [Interest] qmake: Building a shared object which is not a lib

2012-06-27 Thread Christian Gagneraud
On 27/06/12 18:26, Andreas Pakulat wrote: Hi, Am Mittwoch, 27. Juni 2012 schrieb Christian Gagneraud : On 27/06/12 12:32, Mandeep Sandhu wrote: On Wed, Jun 27, 2012 at 4:29 PM, Christian Gagneraud ch...@techworks.ie javascript:; wrote: Hi there, [...]

[Interest] qmake -spec win32-msvc2010 generates Makefiles but no project file

2012-03-29 Thread Sherif Ghali
The title says it all. With Qt 4.7.x and Visual C++ 2008 one used to be able to generate a Visual Studio project file by running 'qmake -spec win32-msvc2008' from the Qt command window. Now with Qt 4.8.1 and Visual C++ 2010, running 'qmake -spec win32-msvc2010' only generates Makefile,

Re: [Interest] qmake -spec win32-msvc2010 generates Makefiles but no project file

2012-03-29 Thread Thiago Macieira
On quinta-feira, 29 de março de 2012 13.59.00, Sherif Ghali wrote: The title says it all. With Qt 4.7.x and Visual C++ 2008 one used to be able to generate a Visual Studio project file by running 'qmake -spec win32-msvc2008' from the Qt command window. You need to add: -tp vc -- Thiago

Re: [Interest] qmake -spec win32-msvc2010 generates Makefiles but no project file

2012-03-29 Thread 1+1=2
Hi Sherif, Generated makefiles for nmake or generated vcproj for visual studio, depending on which TEMPLATE you used in your .pro file. app / lib == makefiles vcapp / vclib == .vcproj As Thiago said, the convenient way to do this is add -tp vc to qmake's command line, if you TEMPLATE is app or

Re: [Interest] qmake Conditions and Scopes

2012-03-12 Thread Szalata, Zenon M.
To: interest@qt-project.org Subject: Re: [Interest] qmake Conditions and Scopes On 03/12/2012 02:33 PM, ext Szalata, Zenon M. wrote: I took this from qmake Advanced Usage available in assistant. It's terribly limiting to make decisions based on the mkspec and almost always wrong (even when Qt

[Interest] qmake Conditions and Scopes

2012-03-11 Thread Szalata, Zenon M.
I am trying to implement a project file to build my project conditionally. In my case the condition is the host architecture, either 32 bit linux or 64 bit linux. I tried something like this: message($$QMAKESPEC) linux-g++-32 { message( have 32 bit linux) } linux-g++-64 { message(have 64

Re: [Interest] qmake Conditions and Scopes

2012-03-11 Thread Lincoln Ramsay
On 03/12/2012 02:33 PM, ext Szalata, Zenon M. wrote: I took this from qmake Advanced Usage available in assistant. It's terribly limiting to make decisions based on the mkspec and almost always wrong (even when Qt does it). We've turned up bugs by failing to name custom mkspecs in precisely

[Interest] QMake commands, QML preprocessing

2012-02-13 Thread Harri Pasanen
Hi, I'm wondering what would be the recommended way to pre-process QML? # Add more folders to ship with the application, here folder_01.source = qml/n9test folder_01.target = qml DEPLOYMENTFOLDERS = folder_01 At deployment time I'd like to change the QML, but keep the unchanged copy in version

Re: [Interest] QMake commands, QML preprocessing

2012-02-13 Thread Konstantin Tokarev
13.02.2012, 18:19, Harri Pasanen ha...@mpaja.com: Hi, I'm wondering what would be the recommended way to pre-process QML? # Add more folders to ship with the application, here folder_01.source = qml/n9test folder_01.target = qml DEPLOYMENTFOLDERS = folder_01 At deployment time I'd like

<    1   2   3   >