You were telling me Win API is C, like as if it is C exclusive. You acted like as if you didn't know what C++ and C difference is, or you were just trying to act smart by pointing out a very stupid and obvious thing. Of course the library is made in C, so what? It can still be used in C++ which I assumed you didn't know since you made such a stupid comment.
The only differences between C and C++ are Classes and OOP extensions. Templates, stronger typing, and a bigger standard library. So they are basically the same language, but the advantages of C++ are great which is why we use it, they are not different languages at all. That's like calling a person from another country a different race.
Yes obviously. I never said I didn't know what it is, I said that if wxWidgets can make macros without "moc" then Qt should be able to do it too.
Yes it is what i do, but it's awful to remake the moc everytime you wanna test a new slot or changed your program for better slots.
I didn't say qmake doesn't work, I said the output of qmake does not work with make, meaning qmake made a wrong output file. Doesn't mean it doesn't work, it means it's buggy.
How else would you explain me following the documentations exactly and then make not working. IF there is an environment mistake as you say, then why doesn't the docs mention this possibility?
I been asking many times, I posted the qt pro file, did it look wrong? I used mingw32-make as someone mentioned, if mingw32 in devC++ works, but mingw32-make doesn't work, doesn't that mean the makefile generated by qmake is faulty?
Why waste my time to learn another program, when I can make a project file for DevC++ and use it every time, that automatically adds the moc stuff that is needed. But I guess no one has made a project with DevC++ since no one has even mentioned such a capability.
So you never had to use moc or qmake with slots/signals? Then how did you get Q_OBJECT to work?
I don't like opening cmd and finding my directory and using make everytime. I'd rather just compile every time I change code by pressing a button. If you like to waste time, that's your style, not mine.
You contradicted yourself. You jsut said qmake and make don't compile, then you said that make makes a series of calls to the code reader and linker, which is called compiling and building. So obviously after using make, I should have an exe output ... right? Then that means it does compile.
I explained it several times, I get a bunch of errors with make, which I don't get with devC++ meaning qmake generates bad files, since make and devC++ both use same compiler.
So a mechanic would then look inside the car, to see the environment, or in your position ask the person in need of help things that may result in faulty qmake output. Or ask for the makefile, or link to a qmake tutorial, or do something else that's helpful. Guess what, mechanics always get "my car is broken", because that's their job to figure it out, if they knew what was exactly wrong, why would they need the mechanic? If I knew what was wrong, why would I need to post on this forum?
Well I have DevC++ installed. Which has mingw in its bin folder, I have a bunch of files in a project folder, so I used qmake -project, fixed the pro file so that it only includes the files I want to compile, and then typed qmake, then make, and the result was a hundred errors, even though devC++ compiles fine without errors. When you asked for specific information I replied with that specific answer. Scroll up and point out where I have not.
Probably, but then again, if I made a mistake I would assume a hundred others made the same mistake. And I would assume that people in this forum have probably already found a solution to it, since they probably have seen many topics about not being able to compile with qmake. Although I haven't found one while searching this forum.
I guess the people at wxWidgets are just smarter? I saw what moc generates, it makes it so that the connection is established between objects, but somehow wxWidgets never had to do this, I wonder why.
Fast would be not using an external program on each of your project files.
Well where is it.
Odd, maybe because the process isn't simple, that I couldn't figure it out after hours and hours of trying even though I have had experience with many compiling problems. Meaning something went wrong. As for the amount of people complaining perhaps, they all faced the same problems and they switched to something else or gave up because they didn't know about this forum, maybe trolltech would be number 1 if they had only made these few things clear, or had a common problems page or something. Or step by step instructions on using qmake properly, or using DevC++ with qt, or VS with Qt.
I knew that, since I had to look it up to know how to use it right? Obviously I have said multiple times that i only use it with Q_OBJECT.
I'm glad your makefiles work out for you. But I have never ever ever compiled successfully with make, even things not involved with qt. That is why I used IDEs that do it for me.
Yes, now I do, because before it said QMAKESPEC error, and the make was borland or something. Now I use mingw32-make, and now i have hundred errors even though my code is 100% correct. Meaning make doesn't know how to read code or is reading wrong files.
I dont know, all I know is I have mingw installed, and because of wxwidgets I have msys installed, and because of devC++ i have mingw installed again in its bin folder, which is the one I usually use.
So why wouldn't make work? Maybe if there was docs that fully explained what make does, and how to use it properly...
Thank you for your helpful advice finally. GNU Make 3.80 is my output. How do I check the mingw32-make package, I thought I just did that?
I'd rather not waste time learning each command line of g++ and let my IDE handle that.
I blame qmake, because there is nothing else to blame. Only when I used qmake did I find the errors, so its either make or qmake's fault. Or maybe its trolltechs fault for not having easy steps to use them properly. My IDE works fine.
OBviously.
But I assumed people knew that DevC++ used mingw32.
Most use it for mingw.. I have never heard of anyone changing the default compiler.
Yeah I'll do that.
No I get errors by using mingw32-make, not using make anymore.
Where? Also I can make it use make, but I dont see the point.
BTW this is the first forum that has such fast session timeouts, like as if there is top secret information here or something.
Look, I answer your questions, but qmake is not working for me, so I'm just gonna use moc manually now...
Bookmarks