installer cannot determine applicationpath - tidesdk

I am installing TideSDK for the first time.
I am working on Windows 7.
I downloaded the TideSDK-1.3.1-beta-win-x86 zip file.
I extracted the zip file to c:\ProgramData\TideSDK
When I attempt to run the installer application within c:\ProgramData\TideSDK\sdk\win32\1.3.1-beta\installer folder I get the following message:
"The installer cannot determine the application path"
What am I doing wrong?
Regard
Henry Hugo

Follow all the the "Getting Started with TideSDK" steps:
http://tidesdk.multipart.net/docs/user-dev/generated/#!/guide/getting_started
The basic docs don't discuss the "installer" application. Instead, the last part of Step 1 says to install Imagemagick and Wix 3.0... and then since you're just beginning I recommend you go to Step 2 where you get the TideSDK Developer App with the UI for creating and running a new app.

Are you trying to use the developer application? This is a separate download form the SDK itself. If so download it from their website and install it, it's a .msi, easy to do.
http://www.tidesdk.org/

Related

Deploying pyqt application to Windows using pyqtdeploy

I would like to deploy for the first time my first app made with PyQt5. I found pyqtdeploy (link) to be probably what I need to do this for Windows and other platforms.
Anyway, I am following this tutorial, but, as I am completely new to deploying applications, I am not sure on one thing: do I need to download Qt for the target specific platform I need to deploy my app to? If so, am I supposed to use qmake from that Qt installation against the result of pyqtdeploy? For example: if I want to deploy to Windows, do I have to download Qt from here (and which version???)?
From the same tutorial page, this is not so clear, maybe it's obvious, but as I am a newbie in this, not for me.
No you don't need to download Qt.
When building your 'sysroot.toml' file, pyqtdeploy will download qt-everywhere-src and builds it from source.
In the built sysroot directory you can find qmake executable in "...\Qt\bin" (qmake.exe) depends on where your project files (sysroot.toml file) are.
For example if your host machine is Windows and C:\Users\username\Desktop\My_PyQtDeploy_Proj is your project folder which contains sysroot.toml, after building sysroot you can find qmake in "C:\Users\username\Desktop\My_PyQtDeploy_Proj\sysroot-win-64\Qt\bin\qmake.exe"

QML Box2D Install

Following advice on a question I asked previously, I am trying to use Box2D with my QML app.
I have downloaded Box2D for QML here: https://github.com/qml-box2d/qml-box2d
I have followed the instructions :
Extracted the files to my Import folder (Qt/5.4/android_armv7/imports/)
Opened Box2D.pro in Qt and built it.
The libBox2D.so file was created as per the instructions I was following.
I have tried using Box2D in my QML project. First with my android app, then with a desktop app.
On each occasion I am getting an error:
module "Box2D" is not installed
I'm stuck with this, can someone help me?
You need to run make install (nmake install on Windows) so that the Box2D files are installed to e.g. Qt/5.4/android_armv7/qml, in your case. To use nmake, you need to have your development environment set up correctly. This is explained here, although that's specifically aimed at building Qt itself. If you're using MSVC, it is enough to open MSVC's developer command prompt and run nmake from there.

New windows universal app with SQLite 3.8.7.4 doesn't work

I created a windows universal app (windows 8.1 and windows phone 8.1 winrt) working with SQLite 3.8.7.4.
But with SQLite, nothing works ! (The type or namespace name 'SQLite' could not be found)
YES I have included SQLite in my references :
YES I tried to clean my project and to build it again,
But I have no result. Does anyone have any idea?
I tried to update SQLite to 3.8.7.4 version on an existing app and it works, so, i continue to search why.
P.S : I'm using .NET 4.5
I found the difference between my 2 projects :
In my existing app, there are 2 files : SQlite.cs and SQLiteAsync.cs
But these files are not created on the 2nd project, that's why i can't find SQlite reference on my class.
These files are included by installing "sqlite-net" package from nugget.
In universal app if you add this 2 files : SQlite.cs and SQLiteAsync.cs in the "Shared project" then you will automatically get the reference of SQlite libraries in both project..
Refer the following link and follow the steps mention it'll help you
http://www.codeproject.com/Articles/826602/Using-SQLite-as-local-database-with-Universal-Apps
SQlite.cs and
SQLiteAsync.cs.
These two files are also missing from my project and when I try to install SQLite-net visual studio give me error that it is already installed. I spend a lot of time on finding why it is not adding these files to my project. If you are also suffering from same problem just uninstall it then reinstall it will start working.
:)

TideSDK 1.3.1-beta Installation on Windows XP

After successfully installing TideSDK 1.3.1-beta and Developer 1.4.2 on my Windows 7 machine, I thought I would have no problem installing on my older Windows XP laptop. I have:
1: Downloaded and extracted the Tide 1.3.1-beta (Windows) to C:\Documents and Settings\All Users\Application Data\TideSDK -- three big folders, sdk, runtime, and modules.
2: Installed WIX and ImageMagick
3: Downloaded Developer 1.4.2
4: Downloaded Hello-World app
When I fire up TideSDK developer and attempt to import the Hello World Project, I get a TideSDK Developer (1.4.2) popup window saying "You are importing a desktop project, but no Desktop SDK versions exist on your system"
What am I overlooking? Some PATH requirement or .dll installation or install application for the SDK (other than simply extracting to the location given above)?
Any help would be greatly appreciated!! (I love TideSDK)
Jonathan
In Windows 7, you have to unzip the contents of TideSDK into C:\ProgramData\TideSDK
C:\ProgramData is a hidden folder, so you have to make it unhide and then unzip the contents.
Please make sure that you are strictly following the Getting Started Guide at: http://tidesdk.multipart.net/docs/user-dev/generated/#!/guide/getting_started
It seems that the SDK has not been extracted at correct place so Developer is not finding it.
The Step you should be looking in the guide would be:
STEP 1: Download and extract the SDK
Thanks to both previous answer-suppliers. My own solution is the following:
By searching in the C:\Program Files\TideSDK Developer folder and sub-folders for the phrase "no Desktop SDK versions" I found where the alert comes from -- Line 1666 in C:\Program Files\TideSDK Developer\Resources\perspectives\projects\js\projects.js. In the code, I noticed that the alert results from a empty result from a call to Ti.Project.getSDKVersions(). By perusing the TideSDK API docs, I determined that getSDKVersions() relies on a call to Ti.API.getComponentSearchPaths(). When I inserted
alert (Ti.API.getComponentSearchPaths()); at Line 1665, the result was two PATHS -- One was C:\Documents and Settings[my current user]\Application Data\TideSDK and the other was
C:\Documents and Settings\All Users.WINDOWS\Application Data\TideSDK
NOTE: All Users.WINDOWS, rather than All Users. So, I copied the TideSDK folder to the above location (and removed the Hidden attribute, as suggested above) and now Developer finds TideSDK and all is well.
I don't know if the above solution applies to ALL TideSDK installations on Windows XP or not, but if anyone has been receiving the "You are importing a desktop project, but no Desktop SDK versions exist on your system" alert in TideSDK Developer on XP, I suggest giving this a try.
Jonathan
(neologis)

How to install a Qt application on a customers system?

I've got a Qt app that I need installed on a customers computer, which I can't assume has Qt installed on it. I'm on a Mac OSX and the computer I will be installing it on some Unix based system. I will be installing it myself so I don't need a GUI installation wizard or anything like that. Ideally I'd like to end up with a script or makefile, along with a folder of all the sources and necessary libraries, I just don't know where to start. References would be much appreciated, I haven't found anything useful after many google searches.
My question lies somewhere between these two:
Can you create a setup.exe in qt to install your app on a client computer?
Create Linux install for Qt application?
I don't need a full-blown install wizard (question 1), but I also won't have my machine at the installation site to just keep copying libraries until all dependencies are met (question 2). Basically I need to have everything on a CD ready to install when I get there. Thanks in advance.
There are two ways to install a Qt application on a system:
1 - You can compile Qt statically. This will allow you to deploy you app without any qt dependencies.
2 - You need to deploy your app with Qt librairy files you need (like qtcore.dll on Windows)
You will find all explications for each platform in the Qt documentation : http://qt-project.org/doc/qt-4.8/deployment.html.
To create installer you can use InstallJammer for Windows and Unix.
For MacOSX you need to create a dmg image. This is very simple. Read the following web page for help : http://www.wikihow.com/Make-a-DMG-File-on-a-Mac. By using apple script you can customize dmg (like an Application folder link into the dmg).
My preference for Win32 installer is NSIS.
Hope that helps!
Not sure why you want to avoid the install wizard. It can also help you create Uninstaller, desktop and start menu shortcuts, etc. As mentioned in the posts you refer to, you could use BitRock InstallBuilder (Nokia uses it for Qt Creator)
If you do not want to use a wizard and don't want to compile statically, then you can bundle Qt libraries in the same folder as the app and setup a shell script that sets the LD_LIBRARY_PATH to that directory

Resources