I downloaded QT some time ago and now I'm trying to install it. 4.3.3.
I've just installed it, but in Terminal, I'm confused on the permissions I saw.
I share this computer with my son (Kevin). I used my account to install it. However, in Terminal, I did an "ls -l" in /usr/include/qtuitools and it shows this:
Why would it show Kevin here as the owner and not me? And what the heck is "wheel"? I issued the SET command and USER=toddburch is set.
Second question.
I would prefer to use Xcode for development with QT. However, the QT doc seems to be lacking a bit for this old timer. And, Xcode is not too friendly either.
In Terminal, I created a new directory called "qtcode" and CD'ed into it. With no other files in the folder, I ran "qmake -project". That created qtcode.pro. Then, I ran "qmake" with no parms. That created qtcode.xcodeproj. Seemingly, so far, so good.
Then, I go into Xcode and File->Open the project. It's empty. Now, I'm stuck. What's the right process to add a C++ file? I tried File -> New File -> BSD -> C++ file. I called it qtcode.cpp, and did not check for a header file. The default directory present for the file create was fine for my project (the qtcode folder). I clicked OK and got the empty qtcode.cpp member, pasted my code and, and then nothing. The Build button was greyed out and I could not compile. What step did I miss? What else do I need to do?
Thanks, Todd
I've just installed it, but in Terminal, I'm confused on the permissions I saw.
I share this computer with my son (Kevin). I used my account to install it. However, in Terminal, I did an "ls -l" in /usr/include/qtuitools and it shows this:
Code:
todd-burchs-computer:/usr/include/qtuitools toddburch$ ls -l
total 24
-rw-r--r-- 1 Kevin wheel 23 Dec 4 15:58 QUiLoader
-rw-r--r-- 1 Kevin wheel 23 Dec 4 15:58 QtUiTools
-rw-r--r-- 1 Kevin wheel 2979 Dec 4 15:58 quiloader.h
todd-burchs-computer:/usr/include/qtuitools toddburch$
Why would it show Kevin here as the owner and not me? And what the heck is "wheel"? I issued the SET command and USER=toddburch is set.
Second question.
I would prefer to use Xcode for development with QT. However, the QT doc seems to be lacking a bit for this old timer. And, Xcode is not too friendly either.
In Terminal, I created a new directory called "qtcode" and CD'ed into it. With no other files in the folder, I ran "qmake -project". That created qtcode.pro. Then, I ran "qmake" with no parms. That created qtcode.xcodeproj. Seemingly, so far, so good.
Then, I go into Xcode and File->Open the project. It's empty. Now, I'm stuck. What's the right process to add a C++ file? I tried File -> New File -> BSD -> C++ file. I called it qtcode.cpp, and did not check for a header file. The default directory present for the file create was fine for my project (the qtcode folder). I clicked OK and got the empty qtcode.cpp member, pasted my code and, and then nothing. The Build button was greyed out and I could not compile. What step did I miss? What else do I need to do?
Thanks, Todd