We designed an encoding scheme, using quantum dots (QDs), for single logical qubit information by encoding quantum information onto four-photon decoherence-free states to acquire immunity against collective decoherence. The designed scheme comprised of QDs, confined in single-sided cavities (QD-cavity systems), used for arbitrary quantum information, encoded onto four-photon decoherence-free states (logical qubits). For our scheme, which can generate the four-photon decoherence-free states, and can encode quantum information onto logical qubits, high efficiency and reliable performance of the interaction between the photons and QD-cavity systems is essential. Thus, through our analysis of the performance of QD-cavity systems under vacuum noise and sideband leakage, we demonstrate that the encoding scheme for single logical qubit information could be feasibly implemented.