Free GUI framework to create a single exe? [closed] - c++

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'm looking for free and easy GUI framework that let me create single exe
without dependency (like .Net framework) and to be not GPL
as a side note .. im using Qt and its great but i have to be LGPL to use it that means lots of fat dlls . is there any alternative?
p.s
how did the Dropbox client made of? i know its python but how did they build it? py2exe?

LGPL != GPL. You don't have to make your code LGPL or even make it open to use the library that is covered by this license. It is clarified in this post.
So if LGPL is suitable, then I recommend gtkmm.
AFAIK you can link statically with it.
Another options is wxWidgets which has slightly more liberal license.
As stated here you can create
"an .exe application that will run on any Windows platform with no external dependencies that need to be supplied by the developer" with it.
Also to let you know that from January 14, 2009, Qt version 4.5 is available under LGPL in addition to GPL and commercial license (see here).

What about Win32++?
http://win32-framework.sourceforge.net/index.htm
http://www.codeproject.com/KB/winsdk/framework.aspx
Or WTL?
I found another topic that might interest you

I'm looking for free and easy GUI framework that let me create single exe without dependency (like .Net framework) and to be not GPL
There is no such thing. Three most popular frameworks Qt, GTKmm, wxWidgets are LGPL.
However you can link statically and provide full source code that allows user to replace/update the LGPL part you can do this as it confirms to LGPL requirements
(I'm not a lawyer - don't see this as legal advice).
Now .Net - has lots of dependencies they are just pre-installed.
Now I used to distribute programs with Qt, it was very simple, you need very few dll's. In my case there were: QtCore4.dll, QtGUI4.dll and mingwm10.dll (that is just part of mingw and not Qt). It is not such big problem, so even it is not a single exe but it is simple enough.
Otherwise... Use Win32API -- good luck :-)!
Edit: as it was correctly commented by #vitaut you may even provide compiled objects letting user link the code and replace the Qt version to keep with LGPL requirements.

Or use
http://smartwin.sourceforge.net/

Not specifically C++, but:
AutoIt scripts can be compiled to self-contained executables.
Also consider Free Pascal and the Lazarus IDE which appears to offer the same end-goal.

Related

How to write C++ on Mac? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
Taking my first C++ class in college. I need to download C++ and my teacher gave us a direct link to download it, but it only works on Windows. Is there a way I can format it to work on my Mac or is there a Mac-friendly version I can download?
A compiler for C++ is already built into Mac (try g++ main.cpp in terminal). If you mean an IDE for C++, use Xcode 5, available in app store.
It's developed by Apple, has git integration too if that's useful to you. Also has templates and such available to entice you to work on OS X/iOS projects, which might be a nice way in for you (I'm just starting out too, and I think that could be good).
For command-line projects though, I find it best to write in Xcode, then compile and run from the terminal. It's easier for file I/O and passing arguments to stdin IMO.
You can utilize something called Xcode IDE to write your programs on C++, I have been using that for a quite a while now, and it's definitely fun. You can find the app from free on APP store or just by clicking the link below. This is one of the many things I like about MAC.
click here to get XCODE
On Mac, since you are just starting out, use XCode. Its a pretty neat IDE with built in C++ compiler so you can write C++, compile with a click and run.
I think you kinda have the wrong idea of c++.
C++ is a programming language and what you are asking about is a development environment.
For example Xcode is such an environment. Since I also have my favorite I would use Eclipse since it is useful for many other purposes too.
Eclipse C++ Download

Qt libraries for closed C++ applications

I would start using C++ and develop commercials application with GUI. I found Qt libraries and seem that are good for my software.
I saw that Qt has LGPL license, I read that the license allow the developer to create an application and release it with different license, but I don't understand if at the moment I can develop a commercial C++ windows application (closed source) with Qt WITHOUT pay for the Commercial license.
Could someone clarify this point?
Thank you!
The LGPL licence means you can use Qt in a commercial application if, and only if, you dynamically link to it. That means using a DLL (or equivalent for your platform) rather than a static library. As long as you do this you can apply whatever licence you like to your actual application.
Look at the Wikipedia article for more information on the LGPL.
if you do so, you have to provide a way to get the source of the libraries under lgpl you are using.

c++ IDE on usb? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed last year.
Improve this question
is there any c++ compiler i can put on a usb or external harddrive and use it on any other computer? the school computjers in my library dont have an ide... or a compiler installed...
P.S the school computers are very tight on securty. i cant even download things from the internet, no websites like facebook, so can i install it on one of the computers? or can i just run it as the actual executable file and run it straight from my usb?
there are several computers with windows 7, and 3 imacs
I'd try Eclipse. And if it doesn't work straight away, try one of those USB-stick program-hosting softwares like U3 (it comes on some Sandisk thumb drives).
Code::Blocks can easily be made portable by setting custom environment variables, described here
At the back-end, C::B can use mingw, which doesn't require any specific install information other than a few environment variables. (namely PATH). These can be set temporarily using SET PATH=%PATH%;./mingw/, which should be possible without elevated privileges.
You might try some of the tools at portableapps.com. They're a group that modifies open source software to run off of USB sticks. I've used their versions of Notepad++, Gimp, and Filezilla for years.
In particular, maybe look at they're development tools: http://portableapps.com/apps/development
It looks like they even have some programs to make other apps portable as well, which you might try with Eclipse, as John suggested. (I think Eclipse may also just run off a USB stick without any modification.)
Dev-C++ might be a good choice if you only use Windows.
If you want an IDE that works in both Windows and Mac, you can choose Emacs, which is a very powerful text editor and is a part of the GNU project. But as it's only a text editor, you will need to download the C++ compiler yourself. MinGW might be a good choice in Windows. Since I have never used a Mac, I cannot give you more suggestion for the Mac environment. But as it's a Unix based system, I guess it has a C++ compiler itself.
What you're looking for is a portable c++ ide. Google gave me the following:
devcpp-portable
Netbeans portable config
But go through google to find more
There is portable code blocks.

IDE for C++ and support for wxWidgets [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
What good IDE would you recommend for C++ (GNU) programming, with support for the wxWidget library and a GUI builder/designer all in one? Can be either for windows or linux.
Code::Blocks is good. It integrates and generates wxWidgets code as well!
I'm using MS Visual Studio 2008 and wxFormBuilder. I prefer the debugger in Visual Studio to the GNU or Eclipse debuggers. For long editing sessions, I use XEmacs.
I don't use wxFormBuilder very often, so I don't miss having it integrated with the Visual Studio IDE.
I can recommend Eclipse with wxFormBuilder. Not really "all in one" because those are two tools, but they work very well.
MS Visual studio is also good alternative to Eclipse if you are using Windows. Eclipse works both on Linux and Windows.
Here's a wiki listing of IDE's you could try if you haven't found this already.
Also found this, IDE's that have been known to work with wxWidgets.
I also recommend Eclipse. I haven't had much experience on it using C++ but its certainly quite exceptional with Java.
Good Luck!
I have always loved WxDev-C++
The most important reason for using it has been the fact that many of the advanced and third part controls are already added in the IDE and it makes it easy to use them.
Try Philasmicos Entwickler Studio, which should meet your requirements.
http://www.philasmicos.com/content/17-freeware
Code::Blocks is really good. Seamless integration with wxSmith makes this tool excellent choice. Specially for beginners.
Eclipse is more serious and sophisticated tool. It hasn't plugin for GUI design, more difficult in integrating with wxWidgets. But it's my choice for some reasons: it widely used (as basic IDE in many fields of development), robust text editor, great number of plugins, etc.
Resume:
Code::Blocks: easy, lightweight, seamless, all-in-one
Eclipse + wxFormBuilder*: powerful, robust, widespread
Codelite + wxFormBuilder or Netbeans 7.0.1 Cpp tools + wxFormBuilder. They have friently and native interface's, but very slow copilation. As well, Codelite has distributive for beginners Just-Install-And-Develop, which contains IDE+wxWidgets+MinGW.
So, C::B is the best and fastest, of course ))).
The best ide for developing wxwidgets is codeblocks with wxformbuilder. wxSmith works but, wxformbuilder offers more options and easy to use than wxsmith...
Its 2015 and there are more Advanced IDEs that one can use for developing wxWidgets.
You can Find the a of these IDEs here : WxWidgets Tools
Here are the free and best IDEs that I have come across and liked :
CodeBlocks (wxSmith) - Latest Stable Version 13.12 since 2013
CodeBlocks (wxSmith) - Latest Un Official release as of today 2/21/2015 rev10080
WxDevC++ - Latest Version 7.4.2-since 2012
wxCrafter - Latest Version as of today, 2/21/2015 its 2.0

open source dev environment for C++: what's better? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I want to do some coding in my spare time, but the thing is, I don't want to spend the money on this.
Would the following set of development tools be The Right Thing, or is there something I'm forgetting?
Eclipse for C++
SVN for source control
Qt for UI development (since it's C++, and I believe it's now opened by Nokia)
hudson for continuous integration
I'd like to write a little image processing application that can run on any platform, but the main platform at the moment will be Windows with a possible movement to the Mac-- hence all the cross-platform tools.
Is there anything really obvious I'm forgetting? Like something like fxcop for style checking in C++?
If I use any libraries, I'd like to avoid GPL libraries; if things go south with my current employer, I'll want to monetize this.
Microsoft Visual C++ Express is free and easily the best IDE for Windows. Furthermore, you can use it to work on cross-platform code - it more depends on writing standards-adhering code and using portable libraries.
If you want to write cross-platform code, I recommend a cross-platform build tool. I use CMake, which generates Visual Studio solutions on Windows, but there are others too, such as SCons.
As for libraries, it depends on what exactly you need to do. Qt is an excellent GUI library. libpng/libjpeg and others are good for loading/saving images at a low level, but there are probably other higher-level image libraries as well.
[edit] A response to the comment about MSVC and Qt:
A quick search brings up Trolltech's Qt Visual Studio Integration page:
Qt Visual Studio .NET Integration
A comment points out that this is actually not free (a free addon is available at this link, but this runs Qt designer outside of Visual Studio. Also, the Express version of Visual Studio does not support plugins.
For coding specifically in Qt there is another new IDE created by Qt: Qt Creator. I've heard good things about it, and it is also portable across Windows, Linux, and Mac.
I detect procrastination (something I'm often guilty of) - just write some code - you can always add tools as you go along.
The problem with questions with phrases like "what's better" is that it's really hard to determine what's right in a specific situation and maybe impossible what's "better".
Said that, I use Eclipse CDT sucessfully as an IDE on Linux. I use frameworks like ACE/TAO to create code that is highly portable.
I know that QT is a very good UI framework. KDE is built on top of KDE and if you use KDE/Linux then you may also want to look at KDevelop, a C++ IDE that has many users.
In the end I believe that you and only you can figure out whats best for you to use. Make sure you check the alternatives and then make an educated decision.
for c++ there are a few more freewares available such as codeblocks and devcpp. I find eclipse very heavy on the machine.
There are many tools that make the difference:
A C++ compiler ... (it wasn't in your list)
doxygen
STLfilt (which is a must have when programming in C++)
A UT framework (CxxTests, boost.test, Fructose, google.test, ...)
something to manage the compilation chain (scons, aap, (b)jam, cmake, ...) -- I've no idea what eclipse is using.
Source control: git. It's not as diffucult as people make it seem. I'm an svn newbie and I still managed to learn the basics of git for use in everyday life! There are about 4 or 5 basic commands that will get you going in no time. Read the official git tutorial
Regarding IDE's, there are a few choices
Microsoft Visual C++ Express Edition (free lite version)
Eclipse with CDT
QtCreator. (Since you're using Qt for the GUI)
Personally I have used Eclipse+CDT for a number of projects. Paired with wxWidgets it has provided me with enough to keep myself pretty much crossplatform (which I think is a big plus).
Also QT has some interesting releases with an IDE now, make sure you check it out: http://www.qtsoftware.com/products/developer-tools
Like earlier suggestion, just start coding, you will eventually find out what is the appropriate mix for you. It varies greatly between individuals what is the "best" IDE or mix of command line tools, etc.
Eclipse CDT is making huge strides, and even organizations that were unx tools only are now finally joining the IDE bandwagon. Considering downloading a current milestone, not the official release.
If you're using windows, don't use Eclipse directly, find a third-party distribution that already has all the GNU tools in it (I forgot the name, I can look it up).
Once you switch to mac it's easier, but make sure to install xcode to get your GNU tools.
If you are using svn - VisualSVNServer is an excellent free GUI based way to setup and administer your SVN repository, definitely worth checking out as it means you have little/no messing about with config files etc. to change your repository.
Regarding version control - Subversion is pretty much standard and is very well supported. From what I've heard, Git is more powerful but harder to use; it's worth a look for a new one-man project, since you wouldn't have the support and retraining concerns that other projects would have.
Regarding IDE, since Visual C++ Express is currently the highest-voted answer - I've used both Eclipse and Visual C++ Express. I don't have a whole lot of experience with Visual C++ Express, so it might have features that I've overlooked, but from what I've been able to compare, Eclipse offers a lot more features. I tried to list its more impressive features in this answer; from what I've been able to see, Visual C++ Express doesn't have any of the features listed there. Eclipse is slower and more resource-intensive, but with a fast enough desktop, its extra features are more than worth it.
In terms of version control, use git and throw your project on GitHub or Gitorious. There's really no reason to use Subversion anymore, due to its painful branching and merging, and lack of a distributed model.
See this link here for why Git is better than X:
http://whygitisbetterthanx.com/
There's also no point in using Sourceforge or GNU Savannah, as the Git front-end sites have much more valuable features and are easier to use.