| Trolltech Home | Qt4-preview-feedback Home | Recent Threads | All Threads | Author | Date | |
| All threads index page 1 | |
Hi Qt folks, I successfully compiled snapshot qt-win-opensource-src-4.4.0-snapshot-20080304 using Visual Studio 2005 under Windows Vista; also the phonon back-end, which was not automatically compiled with some previous snapshots, is now ok. But I have another problem: in the "doc" directory, I can't find any html documentation for Assistant_adp, nor any ".qch" file required by the new Assistant. Is there a way to build the documentation under Windows? Thank you very much for your attention. Massimo To unsubscribe - send "unsubscribe" in the subject to qt4-preview-feedback-request@xxxxxxxxxxxxx
For the commercial version, will there be VC++ 2008 IDE integration, as it is the case for VC++ 2005? VC++ 2008 allows multi-cpu compilation, which very sensibly increase build times of a project... Philippe To unsubscribe - send "unsubscribe" in the subject to qt4-preview-feedback-request@xxxxxxxxxxxxx
On Wed, Mar 5, 2008 at 7:19 PM, Philippe <ph.goutier@xxxxxxxxxxxx> wrote: > For the commercial version, will there be VC++ 2008 IDE integration, as > it is the case for VC++ 2005? > VC++ 2008 allows multi-cpu compilation, which very sensibly increase > build times of a project... > > Philippe > > To unsubscribe - send "unsubscribe" in the subject to qt4-preview-feedback-request@xxxxxxxxxxxxx > > You can do the same with vc++2005 adding /MP to the compiler options http://blog.280z28.org/archives/2007/10/17/ To unsubscribe - send "unsubscribe" in the subject to qt4-preview-feedback-request@xxxxxxxxxxxxx
On Wednesday 05 March 2008 19:11:16 Massimo Nespolo wrote: > Hi Qt folks, > I successfully compiled snapshot > qt-win-opensource-src-4.4.0-snapshot-20080304 using Visual Studio 2005 > under Windows Vista; also the phonon back-end, which was not automatically > compiled with some previous snapshots, is now ok. > > But I have another problem: in the "doc" directory, I can't find any html > documentation for Assistant_adp, nor any ".qch" file required by the new > Assistant. > > Is there a way to build the documentation under Windows? This is the method for snapshots: make docs or nmake docs Depending on the compiler you're using. However, this will fail on Windows due to a typo in the configure.exe application. I have fixed the problem already, but this will take two snapshot runs to propagate. To make it work with your snapshot and tonight's, edit the .qmake.cache file and change "doc" to "docs" in the QT_BUILD_PARTS line. Then type "qmake" and "make docs". -- [ signature omitted ]
Attachment:
signature.asc
Description: This is a digitally signed message part.
> -----Messaggio originale----- > Da: Thiago Macieira [mailto:thiago.macieira@xxxxxxxxxxxxx] > Inviato: mercoledì 5 marzo 2008 19.30 > A: qt4-preview-feedback@xxxxxxxxxxxxx > Oggetto: Re: Missing Qt documentation > > This is the method for snapshots: > make docs > or > nmake docs > > Depending on the compiler you're using. > > However, this will fail on Windows due to a typo in the configure.exe > application. I have fixed the problem already, but this will take two > snapshot runs to propagate. > > To make it work with your snapshot and tonight's, edit the .qmake.cache > file and change "doc" to "docs" in the QT_BUILD_PARTS line. Then type > "qmake" > and "make docs". Hi Thiago, thank you very much for your replay. I followed your suggestions, but I received this error: 'D:\Development\Libraries\Qt/tools/qdoc3//qdoc3' is not recognized as an internal or external command, operable program or batch file. NMAKE : fatal error U1077: '(cd' : return code '0x1')' In my opinion, the problem is that the QT_WINCONFIG variable is not set equal to "release"; to perform a test, I had to change the doc.pri file, and I had to manually set the QT_SOURCE_TREE variable. The installation seemed to work but, after many warnings, I received the following error: Could not open D:/Development/Libraries/Qt/doc-build/html-qt/qt.qhp! NMAKE : fatal error U1077: '(cd' : return code '0xffffffff' Stop. Is this a bug you can correct, or do I miss something? Thank you again. Massimo To unsubscribe - send "unsubscribe" in the subject to qt4-preview-feedback-request@xxxxxxxxxxxxx
Massimo Nespolo wrote: >I followed your suggestions, but I received this error: >'D:\Development\Libraries\Qt/tools/qdoc3//qdoc3' is not recognized as an >internal or external command, operable program or batch file. >NMAKE : fatal error U1077: '(cd' : return code '0x1')' > >In my opinion, the problem is that the QT_WINCONFIG variable is not set You're correct. Thanks for reporting. The doc.pri file is now fixed. -- [ signature omitted ]
Attachment:
signature.asc
Description: This is a digitally signed message part.
> -----Messaggio originale----- > Da: Thiago Macieira [mailto:thiago.macieira@xxxxxxxxxxxxx] > Inviato: mercoledì 5 marzo 2008 22.49 > A: qt4-preview-feedback@xxxxxxxxxxxxx > Oggetto: Re: R: Missing Qt documentation > > You're correct. Thanks for reporting. Not at all! I have to say "thanks" to you, because of your quick replay! > The doc.pri file is now fixed. Ok, but I'm not sure I have understood: does this fix correct also the problem I reported in the last part of my mail (I mean: the fact that the file D:/Development/Libraries/Qt/doc-build/html-qt/qt.qhp is not found)? Thank you again. Massimo To unsubscribe - send "unsubscribe" in the subject to qt4-preview-feedback-request@xxxxxxxxxxxxx
Massimo Nespolo wrote: >> -----Messaggio originale----- >> Da: Thiago Macieira [mailto:thiago.macieira@xxxxxxxxxxxxx] >> Inviato: mercoledì 5 marzo 2008 22.49 >> A: qt4-preview-feedback@xxxxxxxxxxxxx >> Oggetto: Re: R: Missing Qt documentation >> >> You're correct. Thanks for reporting. > >Not at all! I have to say "thanks" to you, because of your quick replay! > >> The doc.pri file is now fixed. > >Ok, but I'm not sure I have understood: does this fix correct also the >problem I reported in the last part of my mail (I mean: the fact that > the file D:/Development/Libraries/Qt/doc-build/html-qt/qt.qhp is not > found)? You still need to run make docs or nmake docs before you can use assistant, if you're using a snapshot. -- [ signature omitted ]
Attachment:
signature.asc
Description: This is a digitally signed message part.
> You still need to run make docs or nmake docs before you can use
> assistant, if you're using a snapshot.
I downloaded the current snapshot
(qt-win-opensource-src-4.4.0-snapshot-20080306.zip) this morning, but I had
to make a small correction in the doc.pri file: since the "debug" version of
the tools is usually not built under Windows, I replaced
win32 {
QT_WINCONFIG = release
CONFIG(debug, debug|release) {
QT_WINCONFIG = release
}
}
With
win32 {
QT_WINCONFIG = release
}
After this, I modified the .qmake.cache as you said yesterday, I ran "nmake
docs", and the documentation was built!
Thank you very much for your suggestions!
Massimo
To unsubscribe - send "unsubscribe" in the subject to qt4-preview-feedback-request@xxxxxxxxxxxxx
There is an issue with the deferred delete that effects the combo box. Put a combo box on a dialog, and construct the dialog from an event handler. Set and reset the editable property. This will create a line edit that is then marked for deferred deletion at line 1563 of qcombobox.cpp in void QComboBox::setEditable(bool editable). The problem is that the line edit never gets deleted because we are in an event handler, so it stays on the dialog box. (Perhaps setting it invisible would help???) I've replicated it on 32-bit Windows Vista.
This code works in Qt 4.3.4. It also works if the combo box is on the main window, which made initial replication of the problem in a simple program tricky!
Rob
Code that replicates it:
File Main.cpp:
#include <QtGui/QApplication>
#include "testcombo.h"
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
testcombo w;
w.show();
a.connect(&a, SIGNAL(lastWindowClosed()), &a, SLOT(quit()));
return a.exec();
}
----------------------------------------------
File testcombo.h:
#ifndef TESTCOMBO_H
#define TESTCOMBO_H
#include <QtGui/QMainWindow>
class testcombo : public QMainWindow
{
Q_OBJECT
public:
testcombo(QWidget *parent = 0, Qt::WFlags flags = 0);
private slots:
void on_pushButton_clicked();
};
#endif // TESTCOMBO_H
----------------------------------------------
File testcombo.cpp:
#include <QtGui/QHBoxLayout>
#include <QtGui/QComboBox>
#include <QtGui/QPushButton>
#include <QtGui/QDialog>
#include "testcombo.h"
testcombo::testcombo(QWidget *parent, Qt::WFlags flags)
: QMainWindow(parent, flags)
{
QWidget *centralWidget = new QWidget(this);
QWidget *pushButton = new QPushButton(centralWidget);
pushButton->setObjectName(QString::fromUtf8("pushButton"));
setCentralWidget(centralWidget);
QMetaObject::connectSlotsByName(this);
}
void testcombo::on_pushButton_clicked()
{
QDialog dialog;
QComboBox *box = new QComboBox();
box->setEditable(true);
box->setEditable(false);
box->addItem("test1");
QHBoxLayout *layout = new QHBoxLayout;
dialog.setLayout(layout);
layout->addWidget(box);
dialog.exec();
}
To unsubscribe - send "unsubscribe" in the subject to qt4-preview-feedback-request@xxxxxxxxxxxxx
Hi Rob, Sorry for the late reply, it's been a bit busy around here after the 4.4.0 beta. rob_lefebvre@xxxxxxxxxxx wrote: > There is an issue with the deferred delete that effects the combo box. > Put a combo box on a dialog, and construct the dialog from an event handler. Set > and reset the editable property. This will create a line edit that is then > marked for deferred deletion at line 1563 of qcombobox.cpp in void > QComboBox::setEditable(bool editable). The problem is that the line edit > never gets deleted because we are in an event handler, so it stays on the > dialog box. (Perhaps setting it invisible would help???) I've replicated it > on 32-bit Windows Vista. > > This code works in Qt 4.3.4. It also works if the combo box is on the > main window, which made initial replication of the problem in a simple program > tricky! I've tried your code on Windows XP with both 4.3.4 and 4.4, and I see the exact same behavior in both versions (the line edit is not deleted and covers the combobox). I'll have a colleague of mine try on Vista as well, but at first glance, it looks like both 4.3.4 and 4.4 are doing the right thing. -- [ signature omitted ]
Bradley T. Hughes wrote: > Hi Rob, > > Sorry for the late reply, it's been a bit busy around here after the > 4.4.0 beta. > > rob_lefebvre@xxxxxxxxxxx wrote: >> There is an issue with the deferred delete that effects the combo box. >> Put a combo box on a dialog, and construct the dialog from an event >> handler. Set >> and reset the editable property. This will create a line edit that is >> then >> marked for deferred deletion at line 1563 of qcombobox.cpp in void >> QComboBox::setEditable(bool editable). The problem is that the line edit >> never gets deleted because we are in an event handler, so it stays on the >> dialog box. (Perhaps setting it invisible would help???) I've >> replicated it >> on 32-bit Windows Vista. >> >> This code works in Qt 4.3.4. It also works if the combo box is on the >> main window, which made initial replication of the problem in a simple >> program >> tricky! > > I've tried your code on Windows XP with both 4.3.4 and 4.4, and I see > the exact same behavior in both versions (the line edit is not deleted > and covers the combobox). I'll have a colleague of mine try on Vista as > well, but at first glance, it looks like both 4.3.4 and 4.4 are doing > the right thing. FYI, We get the same with 4.3.4 and 4.4 on Vista as well (the lineedit is not delete in either version). On a side note, I'm going to get a fix put into 4.4 that makes sure the lineedit is hidden when calling QComboBox::setEditable(false) :) -- [ signature omitted ]