Basically, I want something similar to this CC license -> http://creativecommons.org/licenses/by-nc/3.0/
I would use CC but it's not targeted to open source works.
Here's what I'd like in the license:
It should have attribution, obviously. People should be able to freely modify the code and combine it with other works as long as the license stays in tact.
If someone is using my code to create a product that they intend to sell then the license should require them to ask my permission before they can use my code in their product. Is it as simple as adding copyright info and contact information?
I don't want to have a situation where I put hard work in to my code, someone uses it and happens to makes some simple puzzle game that becomes hugely popular and he/she is banking some huge bucks on it when the majority of the work was technically done by me.
I looked at the QPL license but it doesn't mention anything about profit, selling, etc except in the no warranty clause http://www.qgar.org/doc/license-qpl.html
Any ideas?