First test drive ...
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: First test drive ...
Just to add another test-environment. The error does also show up with a windows-version on wine.
OS: Windows XP
Word size of OS: 32-bit
Word size of FreeCAD: 32-bit
Version: 0.17.10894 (Git)
Build type: Release
Branch: master
Hash: 6e5bba3999b49098cac93482a13afca243a89d04
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.0.0
I saw, that on wine, there are no parameters available in the parameter-editor at Preferences/Mod/Techdraw/all subfolders. This is different with a Linux-version. There have some subfolders stored values.
Ulrich
OS: Windows XP
Word size of OS: 32-bit
Word size of FreeCAD: 32-bit
Version: 0.17.10894 (Git)
Build type: Release
Branch: master
Hash: 6e5bba3999b49098cac93482a13afca243a89d04
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.0.0
I saw, that on wine, there are no parameters available in the parameter-editor at Preferences/Mod/Techdraw/all subfolders. This is different with a Linux-version. There have some subfolders stored values.
Ulrich
- wandererfan
- Veteran
- Posts: 6317
- Joined: Tue Nov 06, 2012 5:42 pm
- Contact:
Re: First test drive ...
Arrgh. I've advanced my win environment to the point where cmake can't find boost. Progress of a sort.wandererfan wrote:I've started configuring a Win7 build environment, but I'll be overjoyed if I don't have to finish it!
Re: First test drive ...
How are you gathering the dependencies?wandererfan wrote:Arrgh. I've advanced my win environment to the point where cmake can't find boost. Progress of a sort.
"fight the good fight"
Re: First test drive ...
I had a little time to tinker with this tonight - there are a couple different but related problems. One is that the DlgTemplateField isn't getting deleted after it's accepted, and I think the other is related to the TemplateTextField mouse press event handler not being cleaned up... Will try to look at it more in the morning and maybe make a PR. -Ian-
- wandererfan
- Veteran
- Posts: 6317
- Joined: Tue Nov 06, 2012 5:42 pm
- Contact:
Re: First test drive ...
FWIW, this is as far as I got in my "thought experiment":ian.rees wrote:I had a little time to tinker with this tonight - there are a couple different but related problems. One is that the DlgTemplateField isn't getting deleted after it's accepted, and I think the other is related to the TemplateTextField mouse press event handler not being cleaned up... Will try to look at it more in the morning and maybe make a PR. -Ian-
Code: Select all
@@ -72,7 +73,9 @@ void TemplateTextField::execDialog()
tmplte->EditableTexts.setValue(fieldNameStr, utf8Content);
}
}
- ui = nullptr; //ui memory will be release by ui's parent Widget
+ ui->close();
+ ui = nullptr;
+ scene()->clearSelection();
}
void TemplateTextField::mousePressEvent(QGraphicsSceneMouseEvent *event)
- wandererfan
- Veteran
- Posts: 6317
- Joined: Tue Nov 06, 2012 5:42 pm
- Contact:
Re: First test drive ...
github...sgrogan...FreeCADLibs_11.5.2_x64_VC12 ??sgrogan wrote:How are you gathering the dependencies?
got further last night. pointed all the CMAKE variables for Boost libs directly to the libraries. Now Boostlibs are found, but don't like my compiler.
Have to figure out how to downgrade VS2017 to VS20?? or install Boost 1.64.
This was all a lot easier on WinNT with Borland tools.
Re: First test drive ...
Note that on Ubuntu 17.04 i have 2 dev builds. One is against Qt 4 and one against Qt 5. And the Qt 5 build has the behaviour when the pop-up stays persistent. Qt 4 build doesn't have such behaviour and everything works as expected.
Re: First test drive ...
Here is a download link for Visual Studio Express 2013. It is posted at the wine page: https://appdb.winehq.org/objectManager. ... &iId=32010wandererfan wrote:Have to figure out how to downgrade VS2017 to VS20??
http://download.microsoft.com/download/ ... xp_ENU.iso
Ulrich
Re: First test drive ...
You must use VS2013 with this libpack. VS is very intolerant and everything needs to be compiled with the same version. Wth VS2013 + libpack cmake should find everything after setting the path to the libpack.wandererfan wrote:github...sgrogan...FreeCADLibs_11.5.2_x64_VC12 ??
got further last night. pointed all the CMAKE variables for Boost libs directly to the libraries. Now Boostlibs are found, but don't like my compiler.
Have to figure out how to downgrade VS2017 to VS20?? or install Boost 1.64.
EDIT: Also see here: viewtopic.php?f=4&t=20602#p159717
"fight the good fight"
- wandererfan
- Veteran
- Posts: 6317
- Joined: Tue Nov 06, 2012 5:42 pm
- Contact:
Re: First test drive ...
ulrich1a wrote:
Progress!!sgrogan wrote:
OS: Windows 7
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.10887 (Git)
Build type: Release
Branch: master
Hash: 67fc70dadae471cb3d77dcf5562b4a86ec79f95d
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.0.0
Now that I can duplicate the behaviour, I just have to figure out what's wrong with the code.