User Activity

  • Posted a comment on discussion Open Discussion on PythonQt

    Florian, glad to see you are keeping a watch on things. I tried adding this line to the pp-qt-configuration file but it doesn't seem to have any affect. #define QT_DEPRECATED QT_DEPRECATED I would think that I should be able to set breakpoints in preprocessor.cpp but they never get called.

  • Posted a comment on discussion Open Discussion on PythonQt

    I'm not having a lot of luck yet. I thought that I could add some code to check for QT_DEPRECATED on a function but it's not getting called. It seems that there is a pre-processor that is removing the QT_DEPRECATED token from the source. It looks like the prepocessor code is QT code that I can't see so I've been unable to see how it's doing this.

  • Posted a comment on discussion Open Discussion on PythonQt

    In the next couple of days, I should be able to take a look at some of the problems. What if I setup a repository on github for my changes? That should make it easier to shae any changes we make.

  • Posted a comment on discussion Open Discussion on PythonQt

    I only got involved with PythonQt because I wanted to add scripting capabilities to a QT program.

  • Posted a comment on discussion Open Discussion on PythonQt

    I don't believe that the "#endif without #if" problems are appearing because of a real poblem in the input header files but a bug in the PythonQT parser. It may be an indication of some classes not being processed properly. I sort of got sidetracked on other issues and haven't wlooked into any of these issues. At the present time, the failure od QSignalMapper as I previously posted about is my biggest concern. My next item of interest is figuring out how to ignore methods marked QT_DEPRECATED. Of...

  • Posted a comment on discussion Open Discussion on PythonQt

    Here are some changes I am suggesting: Index: generator/main.h =================================================================== --- generator/main.h (revision 502) +++ generator/main.h (working copy) @@ -105,6 +105,12 @@ std::cout << "-------------------------------------------------------------" << std::endl; std::cout << "Using QT at: " << qtdir.toLocal8Bit().constData() << std::endl; std::cout << "-------------------------------------------------------------" << std::endl; + QDir dir(qtdir);...

  • Posted a comment on discussion Open Discussion on PythonQt

    I'm still working on getting connect to work. My problem I believe was because I was trying to use QSignalMapper which doesn't work. from PythonQt import * from PythonQt.QtGui import QPushButton from PythonQt.QtCore import QSignalMapper from PythonQt.QtGui import QMainWindow from PythonQt.QtGui import QHBoxLayout from PythonQt.QtGui import QWidget list = ["A", "B", "C","D"] f = QMainWindow() f.setWindowTitle("QSignal Mapper Test") cw = QWidget(); centralWidgetLayout = QHBoxLayout() cw.setLayout(centralWidgetLayout)...

  • Posted a comment on discussion Open Discussion on PythonQt

    In generator source file main.h, there is a check to see whether the QTDIR environment variable exists and a message is output to qWarning. It should also be output to stdout. Also, there is no check to verify that the directory specified exists. Further down, I found that "/QtWidgets" needs to be added to the list of includes in order to find QtClasses like QMainWindow. This eliminates the baseclass not found warnings. I'm wonderign whether the INCLUDES paths should also be verified that they e...

View All

Personal Data

Username:
allenck
Joined:
2015-09-26 16:37:02

Projects

  • No projects to display.

Personal Tools

MongoDB Logo MongoDB