Re: [Interest] qmake command usage
On 5/19/2015 8:11 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: >> > >> >THROW_AWAY_VAR=$$system(ln -s /home/marchand/test.xml >> >/home/marchand/test2.xml) >> > >> >This is using qmake bundled with Qt 5.4.1. > Perhaps it quotes the latter for you but expects the first to be > quoted? : > > system("ln -s /home/marchand/test.xml /home/marchand/test2.xml") Unfortunately no. Tried that and still no luck without the variable assignment. Dale ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
Re: [Interest] Interest Digest, Vol 44, Issue 51
On 5/18/2015 11:46 PM, interest-requ...@qt-project.org 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: >> > >> >THROW_AWAY_VAR=$$system(ln -s /home/marchand/test.xml >> >/home/marchand/test2.xml) >> > >> >This is using qmake bundled with Qt 5.4.1. > Perhaps it quotes the latter for you but expects the first to be quoted? : > > system("ln -s /home/marchand/test.xml /home/marchand/test2.xml") Unfortunately no. Tried that and still no luck without the variable assignment. Dale ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
[Interest] qmake command usage
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 /home/marchand/test2.xml) This is using qmake bundled with Qt 5.4.1. Dale Dale Marchand ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
[Interest] Window with parent stays on top
Hi, I have an application that we're porting from Qt 4.7 (don't ask) to Qt 5.4, and one of the behavior changes I'm dealing with is that all separate windows with a parent are staying on top of the parent window. For example, if I have these widgets: QMainWindow *mainWindow = new QMainWindow(); QPlainTextEdit *logWindow = new QPlainTextEdit(mainWindow ); logWindow ->setWindowFlags(Qt::Window); when I open the logWindow, it always stays on top (covers) the mainWindow, even if the mainWindow has the focus. With Qt 4.7.5, the windows were independent and either could be brought to the front when the focus changed. My window flags for mainWindow are: 0x1|0x1000|0x2000|0x4000|0x8000|0x800|0x8000 My window flags for logWindow are: 0x1000|0x2000|0x4000|0x8000|0x800|0x8000 I am running on RHEL6.6 with Qt 4.8.0, compiled locally. Is this a bug or simply a behavior change that I can control somehow? I didn't see anything directly related in the issue tracker. Thanks. Dale ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest