Quantum-dot nanodevices with carbon nanotubes