![]() Once you have found out where Java is installed, open a Command Prompt (press the Windows key or Start button, then type "command prompt" and choose the first option that appears.) In our example, the folder name is "C:\Program Files\Java\jdk1.8.0_60", but substitute whatever your folder is called. Look in C:\Program Files\Java or C:\Program Files (x86)\Java for folders whose names start with "jdk". If removing old versions of Java doesn't solve the problem, and you are using Windows 7 or higher, try the following advanced option.įirst, go figure out where exactly your Java JDK has been installed on your system. (In particular, look for and remove "JRE" or "Java Runtime Environment" entries, and remove any versions of Java older than 1.8.) If you see multiple entries there, uninstall all of them other than Java JDK/SDK 1.8. In the list that pops up, scroll down to the "J" area and look for "Java". Go to Control Panel → Programs → Uninstall Programs. The best fix is to uninstall all older versions of Java from your machine. Most commonly this occurs on a Windows machine when you have multiple versions of Java installed. The program just seems to freeze and sit there.Ī: Usually this means that there is a problem with your Java JDK installation. Q: I am able to compile the sample project, but when I run it, the console window does not pop up. \debug\FILENAME.o."Ī: This sometimes means Qt Creator is confused about what files should / shouldn't be part of your project.įollow the steps below to re-initialize your project. Q: When I try to compile my project, I see something like this: Some students have reported that this warning goes away if you go to the Qt Creator Options → Build & Run → Kits tab,Īnd then set one of your actual "kits" to be the default, not "manual" or "Desktop". If you are able to build and run the project, you don't have to worry about this message. Giving up.Ī: This is just a warning message that you should be able to ignore. Q: When I first load up a project in Qt Creator, I see the following error message.Ĭould not find qmake configuration file default.Įrror while parsing file /Users/foobar/cs106b/Life/Life.pro. Q: When I try to compile my program I see an error message saying, "symbol(s) not found for architecture x86_64." If you don't see any drop-down box or left area, click Window → Show Sidebar (or press Alt-0). Where did it go, and how do I get it to come back?Ī: If you see a drop-down box in that left area, click it and make sure it's set to "Projects". ![]() Q: Normally the left side of the window shows my project and all of its files.īut now, that entire area is missing or doesn't show my project any more. Open that in Qt Creator and then from inside the project, open the. ![]() cpp file.Ĭhoose "File" → "Open File or Project." and navigate to the project's. cpp file, I can't Build or Run it.Ī: You need to open a project, not just a. Or reboot the machine into Mac OS X, which does not have this problem. ![]() Instead try using your "U:" drive or the local "E:" drive to work on your project. In particular, your Downloads directory is a bad place to put a project. Q: When I try to run my program on the computers on Windows in the LaIR or other on-campus clusters, Qt Creator crashes.Ī: Qt Creator sometimes doesn't like it when your project is stored on the network shared "AFS" space. Put it somewhere inside your My Documents folder, or something like that. Q: Where should I put my project on my hard drive?ĭoes it have to go in the C:\Qt folder with the Qt Creator application?Ī: No in fact, we strongly recommend putting it somewhere outside the Qt Creator directory. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |