-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Python not loading in Windows QGIS (build from source) #11274
Comments
Author Name: Steven Mizuno (Steven Mizuno) I am reopening this ticket because 4040ddd (SVN r9031) builds the dll as liblibqgispython.dll, which won't be loaded unless it is renamed to qgispython.dll. I neglected to mention that it was [[MinGW]] that I was building with, but you picked up on it. Thanks. I believe the the file should be referenced from qgisapp.cpp by the name "libqgispython" rather than "qgispython". This is what I have been doing when I build for Windows and Mandriva Linux. I don't have have any experience with MSVC building or Macs, so I'm not sure whether the name of the library and how it is referenced has any problems if the name is libqgispython in those situations.
|
Author Name: Jürgen Fischer (@jef-n) Replying to [comment:2 smizuno]:
ouch.
hopefully fixes the problem correctly... |
Author Name: Steven Mizuno (Steven Mizuno) Replying to [comment:3 jef]:
Yes, the problem is fixed. Thank you. I am closing the ticket.
|
Author Name: Anónimo (Anónimo) Milestone Version 1.0.0 deleted |
Author Name: Steven Mizuno (Steven Mizuno)
Original Redmine Issue: 1214
Redmine category:build/install
Assignee: nobody -
For Windows platform, when I build from source the file libqgispython.dll is not loaded by QGIS, therefore there is no Python support.
I have found in src/app/qgisapp.cpp in line 3820 (file is r9003)
If I make the string "libqgispython" then the .dll is loaded and Python support is available.
With Linux the name doesn't seem to matter.
So, for Windows the name should be "libqgispython" or the file should be built as qgispython.dll
The text was updated successfully, but these errors were encountered: