The bacterial wilt disease caused by Ralstonia solanacearum is a significant threat to eggplant production. Breeding and promoting resistant varieties is one of the most effective methods to manage bacterial wilt. Conducting QTL (quantitative trait locus) mapping of resistant genes can substantially enhance the breeding of plant resistance to bacterial wilt. In this study, a population of 2200 F2 individuals derived from resistant and susceptible materials was utilized to establish extreme resistance and susceptibility pools. Following resequencing analysis of the parents and extreme pools, the QTL were examined using the DEEP-BSA software and QTLseqr R package (version 0.7.5.2). The results revealed that the detection of 10 QTL sites on chromosomes 5, 8, 9, and 11 by the five algorithms of the DEEP-BSA software. Additionally, the candidate region of 62 Mb–72 Mb on chromosome 5 was identified in all five algorithms of the DEEP-BSA software, as well as by the QTLseqr R package. Subsequent gene annotation uncovered 276 genes in the candidate region of 62 Mb–72 Mb on chromosome 5. Additionally, RNA-seq results indicated that only 13 genes had altered expression levels following inoculation with R. solanacearum in the resistant materials. Based on the expression levels, SMEL4_05g015980.1 and SMEL4_05g016110.1 were identified as candidate genes. Notably, SNP annotation identified a non-synonymous mutation in the exonic region of SMEL4_05g015980.1 and a variant in the promoter region of SMEL4_05g016110.1. The research findings have practical significance for the isolation of bacterial wilt resistance genes in eggplant and the development of resistance to bacterial wilt varieties in eggplant.