Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New branch patched-5 (based on patched-4 + back ported upstream + add-qt5-support) #15

Closed
wants to merge 27 commits into from

Conversation

Alzathar
Copy link

NOTE: This pull request requires to update the branch svn-mirror. See pull request #14. It should be better to create a new branch other than merging patched-5 into patched-4, but it seems I cannot propose to create a branch in the upstream repository.

(from the updated README.md file)

patched-5

  • Based on patched-4 + backported upstream: r246, r247, r248 + branch: add-qt5-support
  • List of features
    • Qt 5.x support:
      • Modules QtWidgets and QtPrintSupport only wrapped if selected, but they will stay in the PythonQt.QtGui namespace for compatibily reason.
      • Module QtWebKitWidgets only wrapped if selected, but it stays in the PythonQt.QtWebKit namespace for compatibily reason.
      • CMake forces the wrapping of the selected modules dependency (e.g. QtPrintSupport requires QtWidgets, QtGui and QtCore)
    • CMake variable PythonQt_QT_VERSION to select the version of Qt to wrap (4 or 5)

florianlink and others added 27 commits November 26, 2013 10:53
…g from these classes, since they have private destructors

git-svn-id: http://svn.code.sf.net/p/pythonqt/code/trunk@247 ea8d5007-eb21-0410-b261-ccb3ea6e24a9
PythonQt_QT_VERSION cmake option is added ("4" or "5"). If "5",
PythonQt_Wrap_QtXYZ use a XYZ with the same Qt5 casing, if "4" it is lower
case, e.g. PythonQt_Wrap_QtWebKit vs PythonQt_Wrap_Qtwebkit

To be done:
* Rebase Qt5 support on PythonQt trunk (some changes in this commit
(e.g. in PythonQt.cpp) might not be due to a Qt5 support)
* Fix XmlPatterns
* Split generated_cpp folders regarding to Qt modules.
* Remove findCharOffset() and use QByteArray methods instead
* Bonus: Factorize method signature processings
* Fix warning:
src/PythonQtConversion.cpp: In static member function ‘static QVariant PythonQtConv::PyObjToQVariant(PyObject*, int)’:
src/PythonQtConversion.cpp:1044:27: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]

Based on Melven Zöllner work (
http://sourceforge.net/p/pythonqt/discussion/631392/thread/5f20c176/)
…e filled to know if it is Qt4 or Qt5 which will be wrapped.
…) corresponding macros. Moreover, the Qt5_wrap_ui and qt5_add_resources macros are not found by default.
…AKE_PREFIX_PATH the path which contain all the Qt5* folders used by CMake to determine the configuration of the Qt5 modules.
…rapped only if these modules are selected.

NOTE: The way to do that is certainly not the best as the code created by the generator was modified manually by including lots a detection of symbols. The modification of the generator’s code should be certainly better (create folder and files dedicated to these modules), but the current way keep the compatibility with PythonQt for Qt4.x.
…es in the folder ‘generated_cpp_50’ were modified.
jcfr added a commit to jcfr/PythonQt that referenced this pull request Feb 18, 2016
Based on work from the following individual:
 * Melven Röhrig-Zöllner (https://sourceforge.net/p/pythonqt/discussion/631392/thread/5f20c176/)
 * Julien Finet (@finetjul): See commontk#38)
 * Arnaud Barre (@Alzathar):See commontk#15
 * Eric Heim (@eric-h):See commontk#36
@jcfr
Copy link
Member

jcfr commented Feb 18, 2016

Most of commits in this PR are superseded by #39

I will close this PR after reviewing all other CMake tweaks and fixes.

mwoehlke-kitware pushed a commit to mwoehlke-kitware/PythonQt that referenced this pull request May 23, 2016
Based on work from the following individual:
 * Melven Röhrig-Zöllner (https://sourceforge.net/p/pythonqt/discussion/631392/thread/5f20c176/)
 * Julien Finet (@finetjul): See commontk#38)
 * Arnaud Barre (@Alzathar):See commontk#15
 * Eric Heim (@eric-h):See commontk#36
jcfr added a commit that referenced this pull request Jan 17, 2017
Based on work from the following individual:
 * Melven Röhrig-Zöllner (https://sourceforge.net/p/pythonqt/discussion/631392/thread/5f20c176/)
 * Julien Finet (@finetjul): See #38)
 * Arnaud Barre (@Alzathar):See #15
 * Eric Heim (@eric-h):See #36
jcfr added a commit that referenced this pull request Jun 11, 2017
Based on work from the following individual:
 * Melven Röhrig-Zöllner (https://sourceforge.net/p/pythonqt/discussion/631392/thread/5f20c176/)
 * Julien Finet (@finetjul): See #38)
 * Arnaud Barre (@Alzathar):See #15
 * Eric Heim (@eric-h):See #36
jcfr added a commit that referenced this pull request Jun 11, 2017
Based on work from the following individual:
 * Melven Röhrig-Zöllner (https://sourceforge.net/p/pythonqt/discussion/631392/thread/5f20c176/)
 * Julien Finet (@finetjul): See #38)
 * Arnaud Barre (@Alzathar):See #15
 * Eric Heim (@eric-h):See #36
@jcfr
Copy link
Member

jcfr commented Aug 8, 2017

Thanks again for the contribution. Now closing this PR. Most (if not all) changes have been integrated.

@jcfr jcfr closed this Aug 8, 2017
jcfr added a commit that referenced this pull request Aug 8, 2017
Based on work from the following individual:
 * Melven Röhrig-Zöllner (https://sourceforge.net/p/pythonqt/discussion/631392/thread/5f20c176/)
 * Julien Finet (@finetjul): See #38)
 * Arnaud Barre (@Alzathar):See #15
 * Eric Heim (@eric-h):See #36
jcfr added a commit that referenced this pull request Apr 1, 2019
Based on work from the following individual:
 * Melven Röhrig-Zöllner (https://sourceforge.net/p/pythonqt/discussion/631392/thread/5f20c176/)
 * Julien Finet (@finetjul): See #38)
 * Arnaud Barre (@Alzathar):See #15
 * Eric Heim (@eric-h):See #36
jcfr added a commit that referenced this pull request Sep 5, 2019
Based on work from the following individual:
 * Melven Röhrig-Zöllner (https://sourceforge.net/p/pythonqt/discussion/631392/thread/5f20c176/)
 * Julien Finet (@finetjul): See #38)
 * Arnaud Barre (@Alzathar):See #15
 * Eric Heim (@eric-h):See #36
jcfr added a commit that referenced this pull request Aug 2, 2022
Based on work from the following individual:
 * Melven Röhrig-Zöllner (https://sourceforge.net/p/pythonqt/discussion/631392/thread/5f20c176/)
 * Julien Finet (@finetjul): See #38)
 * Arnaud Barre (@Alzathar):See #15
 * Eric Heim (@eric-h):See #36
jamesobutler pushed a commit to jamesobutler/PythonQt that referenced this pull request Dec 12, 2023
Based on work from the following individual:
 * Melven Röhrig-Zöllner (https://sourceforge.net/p/pythonqt/discussion/631392/thread/5f20c176/)
 * Julien Finet (@finetjul): See commontk#38)
 * Arnaud Barre (@Alzathar):See commontk#15
 * Eric Heim (@eric-h):See commontk#36
jamesobutler pushed a commit to jamesobutler/PythonQt that referenced this pull request Dec 13, 2023
Based on work from the following individual:
 * Melven Röhrig-Zöllner (https://sourceforge.net/p/pythonqt/discussion/631392/thread/5f20c176/)
 * Julien Finet (@finetjul): See commontk#38)
 * Arnaud Barre (@Alzathar):See commontk#15
 * Eric Heim (@eric-h):See commontk#36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants