View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0001503||FreeCAD||Feature||public||2014-04-11 06:43||2014-04-30 17:11|
|Target Version||Fixed in Version||0.14|
|Summary||0001503: Make FreeCAD buildable using QT Creator using windows the VC++ 9 compiler|
|Description||FreeCAD should be buildable with QT Creator. It currently builds fine with the VC++ 9 compiler so that should be targeted first.|
Currently, it builds fine but almost all the built files are placed one directory too high so it will not run.
I have a branch where I fixed this issue here but I have only tested it on windows:
|Tags||No tags attached.|
I tried to preserve the previous behavior mostly except for cases like these where the targets change inconsistently:
Where the binaries went was inconsistent for non-windows files. Sometimes they went to a "bin" folder, sometimes to a "lib" folder. Sometimes "INSTALL_RPATH" was the same. Sometimes it wasn't.
I don't know if it matters or not. I guess I expect it will still run when on non-windows but you might consider the files location important. I don't know. I can make it closer to the way it was if it needs to be but I'm not sure if it needs it.
Having someone try to build this in a Linux/Mac environment would probably be good to determine if it still works.
In Windows, it compiles slowly because "nmake" is only single threaded. QT includes "jom" which is a wrapper to make "nmake" multi-threaded but it crashes on my machine so I leave it disabled.
QT Creator in Windows uses qmake by default but does support cmake. However, it's configuration doesn't seem as flexible because it doesn't support the standard cmake targets: debug, release, etc.
For the record, this is not specific to Qt Creator, but is a problem with using nmake and the VS compiler. There are somethings that assume the VS IDE is being used.
Sent pull request here: https://github.com/FreeCAD/FreeCAD_sf_master/pull/22.
Thread discussing it here: http://forum.freecadweb.org/viewtopic.php?f=10&t=6297&start=30
It builds fine on Windows for me and is reported to on Linux also.
|2014-04-11 06:43||mdinger||New Issue|
|2014-04-11 07:21||mdinger||Note Added: 0004549|
|2014-04-13 04:01||peterl94||Note Added: 0004550|
|2014-04-13 04:01||peterl94||Note Edited: 0004550||View Revisions|
|2014-04-24 02:33||mdinger||Note Added: 0004572|
|2014-04-30 17:08||wmayer||Changeset attached||=> FreeCAD Master master f890d1d1|
|2014-04-30 17:08||wmayer||Changeset attached||=> FreeCAD Master master 7d427480|
|2014-04-30 17:09||wmayer||Changeset attached||=> FreeCAD Master master 1a7cea9b|
|2014-04-30 17:09||wmayer||Changeset attached||=> FreeCAD Master master 8df9289d|
|2014-04-30 17:10||wmayer||Changeset attached||=> FreeCAD Master master 1f7743ad|
|2014-04-30 17:10||wmayer||Changeset attached||=> FreeCAD Master master 5fbc308c|
|2014-04-30 17:10||wmayer||Changeset attached||=> FreeCAD Master master 88a3e5bf|
|2014-04-30 17:10||wmayer||Changeset attached||=> FreeCAD Master master a17cce35|
|2014-04-30 17:11||wmayer||Status||new => closed|
|2014-04-30 17:11||wmayer||Assigned To||=> wmayer|
|2014-04-30 17:11||wmayer||Resolution||open => fixed|
|2014-04-30 17:11||wmayer||Fixed in Version||=> 0.14|