I use QWebView in my application. On my machine where Qt 4.7.2 and visual studio 2008 are installed QWebView displays images without any problems. But when I tried to run it on a clean XP SP2 it didn't.
Found some posts about the same problem:
http://www.qtcentre.org/archive/index.php/t-17469.html
http://stackoverflow.com/questions/4...ent-on-windows
As it was suggested there, I copied imageformats folder to the directory where my app is located. So the file/folder structure is "MyAppFolder\imageformats" and "MyAppFolder\myapp.exe". But still have no JPEG images displayed. By the way, Qt sample facybrowser has the same problem.
Any ideas?
Related
As a teacher, I am installing Android Studio in for a computer lab. We have shared computers on which users log in.
The problem is that Android Studio insists on installing SDK and a lot of other things in users local directories (users/user_name/local/appdata and users/user_name/local/AppData).
Since the SDK is several hundreds MB heavy and we have roaming profile thisis not acceptable at all.
What I did:
I set up several envrionment variables to non users local directories: ANDROID_SDK_HOME, ANDROID_SDK_ROOT, GRADLE_USER_HOME, GRADLE_HOME.
I edited the idea.properties file to change idea.config.path and idea.system.path to non local directories
During Android Studio first run I explicitely choose the SDK location.
Still here I am with the SDK located in users/local/appData
I am running out of idea. I am installing version 3.4 by I had the exact same problem with 3.3.
I think my question is the opposite of: How can I import a Windows project to Ubuntu on Qt?
My team has created a Qt project (*.creator, *.files, etc. files) that they use from Linux. I'm running Windows, and have the Qt Creator for Windows installed. I also have a drive (Z:) mapped to the Linux drive with the source and project files.
When they open the .creator file (as a project), all the files show up in their Qt Creator running on Linux. When I open that file (as a project) in Qt Creator for Windows, I only see 4 files (*.creator, *.config, *.files, *.includes), and I don't see the source files.
The *.files file has lines that look like:
/home/user/path/file.cpp
And my drive mapping does map this file as Z:/home/user/path/file.cpp (and I'm opening the *.creator file from Z:).
I only need to view and edit the files - I don't need to build in Windows. Is there a way I can use the existing Linux project files to load the project in Windows? If not, what changes do I need to make?
Thank you.
Usually u open the *.pro file with Qt Creator and if your paths in the pro file are relative and not absolute to that pro file, every file should be loaded into your project view.
I am trying to use Monogame for the first time.
I found creating a content project is impossible on Visual Studio 2012,
so I would like to know if I can create some .xnb (contents) files from another PC and move it in my PC that Visual Studio 2012 is installed.
This is because I failed to install Windows Phone SDK in my PC for some reason.
My OS was Windows 7 so I could not install Windows Phone SDK.
So, is it possible to create a content project on another PC and move it into my PC? Or, can I copy the .xnb files to my PC?
Thanks in advance for your help.
You can create the xnb files from whichever system you want by using an XNA game project.
The steps to follow would be:
Create a new XNA Game project (it needs to be a game and not a content project).
Add the assets you want to port into the content project of the game.
Compile.
Go to the output folder and copy all the xnb files.
In your monogame project, add the existing xnb files to the project's Content folder.
Change their properties to: "Content" for "Build Action" and "Copy if newer" for output directory.
You can find a tutorial (written by me) explaining exactly how to use sounds and spritefonts in Monogame here. This can be helpful given that these files need to be created from an external project as Monogame was not able to used them without being in xnb format; and was also unable to create this format for itself.
One last thing, it is also possible to install XNA in VS 2012/2013 and Windows 8/8.1 without any problem by using XNA Refresh. This may help you in avoiding the need to use another computer for this process.
I am trying to install Remote Tools on a Surface RT running Windows 8.1 preview. I downloaded update 2 of remote tools from Microsoft's site and when I try to run it I get the error:
Windows cannot verify the digital signature for this file. A recent hardware or software change might have installed a file that is signed incorrectly or damaged, or that might be malicious software from an unknown source.
This is confusing because I downloaded the file directly from MS website and when I look at the .exe properties it says digital signatures by Microsoft Corporation.
Any insight would be greatly appreciated.
Thanks!
Update: It seems like my Microsoft Root Authority certificate is "not valid for the selected purposes" I've tried exporting a "good" certificate from another machine and importing it into the Surface machine but it still gives the same issue.
This is because your downloading the 2012 tools. You can download the 2013 preview tools here at the following link! (Be sure to choose ARM)
http://www.microsoft.com/en-us/download/details.aspx?id=40781
Would have been nice if Microsoft had given us a heads up.
Also, when I go to the 2013 download on my Surface RT running 8.1 preview, and I click on Download, no matter which option I pick (x86, x64, or ARM) it downloads the x86 version, which obviously won't work. I had to download it on a PC and copy it over using a USB drive.
This problem exists on the released version of 8.1 too.
If you previously had the vs2012 tools installed, they appear to be uninstalled during the upgrade.
Attempting to reinstall gives the above error.
That means, it's now impossible to connect to the 8.1 Surface RT from VS2012 Pro to debug an 8.0 app running on 8.1. Instead, you need to connect with the VS2013 tools and remote debugger.
For anyone who is just trying to test their App updates a surface device running Windows 8.1 RTM, I have at least found a workaround.
You can manually deploy your package to your device by coping the package content to a USB memory stick and running a already defined powershell deployment script.
Basically you need to run the normal package creation process you would do to deploy to the app store to create a package, then copy the contents of the package folder (Not the compress package itself) to your USB stick. There should be a file named Add-AppDevPackage.ps1 in this folder.
Open your USB device from your Surface RT system, right click the Add-AppDevPackage.ps1 file and select "Run with powershell". You will receive several confirmation prompts at the command line and a popup window prompting you to run with admin privileges.
This is by no means a convenient or speedy process but it worked for my purposes.
This link has more detailed information on manually deploying your app package.
I'm attempting to install Orchard 1.0 on a Windows 7 box. It has only just been released. I downloaded and installed the Windows Platform Installer and attempted to install Orchard. The error message is that the application has stopped working and asks if I want to debug or close the application.
The event log contains a single error:
The event logging service encountered an error while processing an incoming event published from Microsoft-Windows-Security-Auditing.
I tried installing MVC3 and it worked without any issues.
Has anyone experienced a similar problem?
I have exactly the same problem on a Windows 7 and a Windows Vista SP2 system.
MVC3 installs without problems and works just fine. Orchard CMS crashes WPI.
Get the Orchard ZIP file from their site, extract it and open the solution in Visual Studio 2010 or WebMatrix or VS Express and try to run it. You can also run it directly from the folder you extracted it to by using IIS Express.
The installation through Web Platform Installer is broken and it won't work.
I believe I have located the answer on the Orchard CMS Discussion tab on Codeplex.
http://orchard.codeplex.com/Thread/View.aspx?ThreadId=241684
The installation script was missing a reference to a library. They have now rectified this and have advised that you need to delete the AppData folder.
C:\Users\YourUserName\AppData\Local\Microsoft\Web Platform Installer
Once I did this the WPI orchard cms installation worked.