You are here

Qt Creator Portable 1.2.0 Development Test 2

12 posts / 0 new
Last post
dagardner
dagardner's picture
Offline
Last seen: 4 years 8 months ago
Developer
Joined: 2007-09-20 14:41
Qt Creator Portable 1.2.0 Development Test 2

Application: Qt Creator
Category: Development
Description: Qt Creator is a new cross-platform integrated development environment (IDE) tailored to the needs of Qt developers. Qt Creator is available bundled together with the latest Qt libraries and additional development tools as part of the Qt SDK, which provides everything you need to get started with cross-platform Qt development in a single install.

Qt Creator Portable 1.2.0 Development Test 2 [165.34 MB download / 1.07 GB installed]
(MD5: 7b12597bedc6685f22831e2c93626de0)

Release Notes:
Development Test 2 (2009-08-05):

  • Fixed issue for finding portable Qt
  • Save the registry settings (HKCU\Software\Nokia)
  • Did some clean up in the registry (needs checking with other Qt programs)

Development Test 1 (2009-07-10): Initial Release

Notes:

  • It's big; really big. I need to look into reducing the size.
    • Tried to compress the whole thing but that caused it to crash. I need to see what files can be compressed without causing a crash.
    • Includes a fair amount of source code, but not the source code for Qt Creator *shrug*. Need to figure out what is actually needed and package the rest as an optional install.
dagardner
dagardner's picture
Offline
Last seen: 4 years 8 months ago
Developer
Joined: 2007-09-20 14:41
Dang it!

I guess this isn't ready for testing yet. There appears to be an environment variable or something that I am missing that prevents Qt Creator from finding the installation of Qt. When I did my install, there must have been a version of Qt in the path because when I moved to a VM it didn't work.

Back to the drawing board.

jnw222
Offline
Last seen: 11 years 11 months ago
Joined: 2009-05-30 11:10
looks like we might need a

looks like we might need a commonfiles QT

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 8 years 9 months ago
Joined: 2007-04-15 21:08
Once again, unlikely

The Qt runtime is the only bit which could be made common with any benefit whatsoever, but there's the standard problem with different versions - mainly Qt 3 and 4 (though 3 has the troublesome "[Non-Commercial]" appendix on all windows which has blocked it so far here. I think Qt 4 would be the only one needing consideration. Nevertheless, there's also the problem with different Qt modules. All up, I don't think it's worth the trouble (anything in Common Files is troublesome for end users, parallel directories and all that). And it won't help at all for Qt Creator.

I am a Christian and a developer and moderator here.

“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1

dagardner
dagardner's picture
Offline
Last seen: 4 years 8 months ago
Developer
Joined: 2007-09-20 14:41
I don't think that's the problem

Qt Creator has everything it needs under one directory. The standard Qt Creator installer puts everything it needs under a single directory. Qt Creator has an INI file that tells it where the compiler and the Qt files are, but for some reason, Qt Creator Portable can't find those files. I am going to step through the source to see how it Qt Creator locates these.

It also looks like Qt Creator has the ability to build off of different versions of Qt, but I haven't looked into how to do that yet. I will likely included in the installer code that will determine when Qt Creator Portable is being upgraded to a new version of Qt to keep the older versions, if desired.

My experience is that Qt programs don't need a commonfiles directory Windows Qt programs need a dll, but that is it and is usually included with the distributed Qt program.

dagardner
dagardner's picture
Offline
Last seen: 4 years 8 months ago
Developer
Joined: 2007-09-20 14:41
Now it works!

Or at least it worked on my VM. Please try it out and let me know what needs fixing. I'm going to look into including other versions of Qt.

dagardner
dagardner's picture
Offline
Last seen: 4 years 8 months ago
Developer
Joined: 2007-09-20 14:41
Thinking of looking at this again...

I thought I would look at this again, and I happened come across a discussion thread about making Qt Creator portable for Windows.

It appears that Qt Creator looks for plug-ins and the SDK is a fixed location that is determined at install time.

One person said that they installed Qt Creator on a TrueCrypt drive so they could take it with them, but they also suggested using the subst command.

What would be the implications of using the subst command for a PortableApp? Has anyone done that with another app? (yes, people have. Should have searched first.) Would that be considered a acceptable solution?

I'll look more into this to see whether it is a viable option.

3D1T0R
3D1T0R's picture
Offline
Last seen: 2 years 8 months ago
Developer
Joined: 2006-12-29 23:48
Well

I doubt that it would be considered acceptable for a PortableApp to require a SUBST drive (especially considering that the SUBST drive may not be open on all systems [e.g. Say you choose P: well on one of my systems P: is the card reader in my printer, or Z: I may have a network share mapped there, etc.])
It would be better to use the system built into PAL 2.0 (or PAL 2.1) for Registry and File editing (using %PAL:Drive% and %PAL:LastDrive% to make changes).

~3D1T0R

dagardner
dagardner's picture
Offline
Last seen: 4 years 8 months ago
Developer
Joined: 2007-09-20 14:41
Better, true...

I agree that it is better, but the last time I tried to look at it, I was never able to find all of the places where the drive letter needed to be changed. The good news is that that was before the new Launcher scripting infrastructure so it may be possible now.

3D1T0R
3D1T0R's picture
Offline
Last seen: 2 years 8 months ago
Developer
Joined: 2006-12-29 23:48
DevTest:

I'd recommend that you do your best portablizing it with the File and Registry editing systems available, then put out a new DevTest, and make a note when you post it that you'd appreciate any help finding any other places where it references an absolute path.
Then the community here can help you out.

~3D1T0R

Compizfox
Offline
Last seen: 11 years 10 months ago
Joined: 2012-04-13 07:39
Hi,I tried it, but when I

Hi,

I tried it, but when I try to use it on another computer then where I installed it, it can't find the Qt libs.

The message is as follows: "Qt version is not properly installed, please run make install.". I tried installing the Qt libs seperately on the USB-stick, but again, it only works on the same computer it was installed on.

QtCreator itself works perfect, but I can't compile programs. That makes it pretty useless.

EDIT: Found a solution for it! It uses QPatch.exe, a tool included in the pre-compiled version of Qt.
It's based on this: http://tb-nguyen.blogspot.com/2011/01/how-to-move-qt-install-library-ver...
Although those scripts look like they're made for an older version of Qt. I sorta updated them to match the current Qt.

I'm posting the script to pastebin: http://pastebin.com/kvXR3AST
You also need the files QPatch.exe and files-to-patch-windows: http://www.multiupload.nl/HS7458V0W9

Just edit the %QTDIR% variable to match the directory where your Qt build is.

I also found this: www.runfastsoft.com. Looks like QtMove is another tool to move Qt installs. I just tried it and I think it works very well. And it's easier to use than the script.

Oh, and is there any chance you can make Qt Creator 2.4 portable? The current portable version is quite outdated.

aloxanh
Offline
Last seen: 7 years 7 months ago
Joined: 2016-08-28 22:47
Run file Configure to Build QT

I entered the directory "QtCreatorPortable\App\Qt\2009.03\qt" -> run file "configure.exe" with some parameter and i can build a project.

Thanks for sharing Qt Creator Portable.

Log in or register to post comments